CVE catalog

CVE-2021-3518

libxml2: CVE-2021-3518

[CVE catalog]

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

There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability.

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
Cpedebian_linuxNot reportedNot reportedunknown
Cpejboss_core_servicesNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
CpefedoraNot reportedNot reportedunknown
Cpeactive_iq_unified_managerNot reportedNot reportedunknown
Cpeclustered_data_ontapNot reportedNot reportedunknown
Cpeclustered_data_ontap_antivirus_connectorNot reportedNot reportedunknown
Cpemanageability_software_development_kitNot reportedNot reportedunknown
Cpeontap_select_deploy_administration_utilityNot reportedNot reportedunknown
CpesnapdriveNot reportedNot reportedunknown
Cpehci_h410c_firmwareNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_network_function_cloud_native_environmentNot reportedNot reportedunknown
Cpeenterprise_manager_base_platformNot reportedNot reportedunknown
Cpeenterprise_manager_ops_centerNot reportedNot reportedunknown
Cpemysql_workbenchNot reportedNot reportedunknown
Cpepeoplesoft_enterprise_peopletoolsNot reportedNot reportedunknown
Cpereal_user_experience_insightNot 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[987737]
Debianlibxml2sourceforky2.9.10+dfsg-6.6not yet assignedNot reported[987737]
Debianlibxml2sourcetrixie2.9.10+dfsg-6.6not yet assignedNot reported[987737]
Debianlibxml2sourcebookworm2.9.10+dfsg-6.6not yet assignedNot reported[987737]
Cpelibxml2cpeNot reported2.9.11Not reportedNVD-CVE-2021-3518Not reported
Alpinelibxml2apk3.102.9.9-r5Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.112.9.10-r5Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.122.9.10-r6Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.132.9.10-r7Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.142.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.152.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.162.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.172.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.182.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.192.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.202.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.212.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.222.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.232.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Alpinelibxml2apk3.242.9.11-r0Not reportedALPINE-CVE-2021-3518Not reported
Ubuntulibxml2debpro2.9.3+dfsg1-1ubuntu0.7+esm1Not reportedUBUNTU-CVE-2021-3518Not reported
Ubuntulibxml2deb18.042.9.4+dfsg1-6.1ubuntu1.4Not reportedUBUNTU-CVE-2021-3518Not reported
Ubuntulibxml2deb20.042.9.10+dfsg-5ubuntu0.20.04.1Not reportedUBUNTU-CVE-2021-3518Not reported

[Debian bug #987737]

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