CVE catalog

CVE-2021-3517

libxml2: CVE-2021-3517

[CVE catalog]

Severity
High · CVSS 8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Published
Source
[NVD] · [CVE record]
EPSS
16.99% · Oct 25, 2026

There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibxml2sid2.15.4+dfsg-1fixed
Debianlibxml2forky2.15.4+dfsg-1fixed
Debianlibxml2trixie2.12.7+dfsg+really2.9.14-2.1+deb13u3fixed
Debianlibxml2trixie-security2.12.7+dfsg+really2.9.14-2.1+deb13u1fixed
Debianlibxml2bookworm2.9.14+dfsg-1.3~deb12u6fixed
Debianlibxml2bookworm-security2.9.14+dfsg-1.3~deb12u4fixed
Cpelibxml2Not reported2.9.11fixed
Cpejboss_core_servicesNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
CpefedoraNot reportedNot reportedunknown
Cpedebian_linuxNot reportedNot reportedunknown
Cpeactive_iq_unified_managerNot reportedNot reportedunknown
Cpeclustered_data_ontapNot reportedNot reportedunknown
Cpeclustered_data_ontap_antivirus_connectorNot reportedNot reportedunknown
Cpee-series_santricity_os_controllerNot reportedNot reportedunknown
Cpee-series_santricity_storage_managerNot reportedNot reportedunknown
Cpee-series_santricity_web_servicesNot reportedNot reportedunknown
Cpehci_management_nodeNot reportedNot reportedunknown
Cpemanageability_software_development_kitNot reportedNot reportedunknown
Cpeoncommand_insightNot reportedNot reportedunknown
Cpeoncommand_workflow_automationNot reportedNot reportedunknown
Cpeontap_select_deploy_administration_utilityNot reportedNot reportedunknown
Cpesantricity_unified_managerNot reportedNot reportedunknown
CpesnapdriveNot reportedNot reportedunknown
Alpinelibxml23.102.9.9-r5fixed
Alpinelibxml23.112.9.10-r5fixed
Alpinelibxml23.122.9.10-r6fixed
Alpinelibxml23.132.9.10-r7fixed
Alpinelibxml23.142.9.11-r0fixed
Alpinelibxml23.152.9.11-r0fixed
Alpinelibxml23.162.9.11-r0fixed
Alpinelibxml23.172.9.11-r0fixed
Alpinelibxml23.182.9.11-r0fixed
Alpinelibxml23.192.9.11-r0fixed
Alpinelibxml23.202.9.11-r0fixed
Alpinelibxml23.212.9.11-r0fixed
Alpinelibxml23.222.9.11-r0fixed
Alpinelibxml23.232.9.11-r0fixed
Alpinelibxml23.242.9.11-r0fixed
Ubuntulibxml2pro2.9.2+zdfsg1-4vulnerable
Ubuntulibxml2pro2.9.2+zdfsg1-4ubuntu1vulnerable
Ubuntulibxml2pro2.9.2+zdfsg1-4ubuntu2vulnerable
Ubuntulibxml2pro2.9.2+zdfsg1-4ubuntu3vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.1vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.2vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.3vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.4vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.5vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.6vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.7vulnerable
Ubuntulibxml2pro2.9.3+dfsg1-1ubuntu0.7+esm1fixed
Ubuntulibxml218.042.9.4+dfsg1-4ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5ubuntu2vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5.1ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5.2ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-6.1ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-6.1ubuntu1.2vulnerable
Ubuntulibxml218.042.9.4+dfsg1-6.1ubuntu1.3vulnerable
Ubuntulibxml218.042.9.4+dfsg1-6.1ubuntu1.4fixed
Ubuntulibxml220.042.9.4+dfsg1-7ubuntu3vulnerable
Ubuntulibxml220.042.9.4+dfsg1-7ubuntu5vulnerable
Ubuntulibxml220.042.9.4+dfsg1-8ubuntu1vulnerable
Ubuntulibxml220.042.9.4+dfsg1-8ubuntu2vulnerable
Ubuntulibxml220.042.9.4+dfsg1-8ubuntu3vulnerable
Ubuntulibxml220.042.9.10+dfsg-1ubuntu3vulnerable
Ubuntulibxml220.042.9.10+dfsg-4build1vulnerable
Ubuntulibxml220.042.9.10+dfsg-5vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxml2sourcesid2.9.10+dfsg-6.6not yet assignedNot reported[987738]
Debianlibxml2sourceforky2.9.10+dfsg-6.6not yet assignedNot reported[987738]
Debianlibxml2sourcetrixie2.9.10+dfsg-6.6not yet assignedNot reported[987738]
Debianlibxml2sourcebookworm2.9.10+dfsg-6.6not yet assignedNot reported[987738]
Cpelibxml2cpeNot reported2.9.11Not reportedNVD-CVE-2021-3517Not reported
Alpinelibxml2apk3.102.9.9-r5Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.112.9.10-r5Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.122.9.10-r6Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.132.9.10-r7Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.142.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.152.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.162.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.172.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.182.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.192.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.202.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.212.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.222.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.232.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Alpinelibxml2apk3.242.9.11-r0Not reportedALPINE-CVE-2021-3517Not reported
Ubuntulibxml2debpro2.9.3+dfsg1-1ubuntu0.7+esm1Not reportedUBUNTU-CVE-2021-3517Not reported
Ubuntulibxml2deb18.042.9.4+dfsg1-6.1ubuntu1.4Not reportedUBUNTU-CVE-2021-3517Not reported
Ubuntulibxml2deb20.042.9.10+dfsg-5ubuntu0.20.04.1Not reportedUBUNTU-CVE-2021-3517Not reported

[Debian bug #987738]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libxml2]Unknown
    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

  • [libxml2-dev]Unknown

    Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

  • [libxml2-doc]Unknown

    Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · all · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · all · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · all · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · all · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

  • [libxml2-utils]Unknown

    Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

  • Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-6.6

      dsa · libxml2 · debian · bookworm

Observed:

References