CVE catalog

CVE-2026-74860

A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD) w

[CVE catalog]

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

A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD) with enumerated attribute values. This triggers a double-free error in the SAX attributeDecl callback handler, where a string is freed twice. This flaw can lead to a denial of service (DoS) due to a reproducible crash in Python applications using the libxml2 SAX bindings.

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+deb13u3vulnerable
Debianlibxml2trixie-security2.12.7+dfsg+really2.9.14-2.1+deb13u1vulnerable
Debianlibxml2bookworm2.9.14+dfsg-1.3~deb12u6vulnerable
Debianlibxml2bookworm-security2.9.14+dfsg-1.3~deb12u4vulnerable
Ubuntulibxml2noble2.9.14+dfsg-1.3ubuntu3.9fixed
Ubuntulibxml2-devnoble2.9.14+dfsg-1.3ubuntu3.9fixed
Ubuntulibxml2-docnoble2.9.14+dfsg-1.3ubuntu3.9fixed
Ubuntulibxml2-utilsnoble2.9.14+dfsg-1.3ubuntu3.9fixed
Ubuntupython3-libxml2noble2.9.14+dfsg-1.3ubuntu3.9fixed
Ubuntulibxml2pro2.9.4+dfsg1-7ubuntu3vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-7ubuntu5vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu2vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-1ubuntu3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-4build1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.2vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.4vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.5vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.6vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.7vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.8vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.9vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm2vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm4vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm5fixed
Ubuntulibxml222.042.9.12+dfsg-4vulnerable
Ubuntulibxml222.042.9.12+dfsg-5vulnerable
Ubuntulibxml222.042.9.12+dfsg-6vulnerable
Ubuntulibxml222.042.9.13+dfsg-1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1build1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.2vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.3vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.4vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.5vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.6vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.7vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.8vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.9vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.10vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.11vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.12vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.13fixed
Ubuntulibxml224.042.9.14+dfsg-1.3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.4vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.5vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.6vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.7vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.8vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.9fixed
Ubuntulibxml226.042.14.5+dfsg-0.2vulnerable
Ubuntulibxml226.042.14.5+dfsg-0.2build1vulnerable
Ubuntulibxml226.042.15.1+dfsg-0.3vulnerable
Ubuntulibxml226.042.15.1+dfsg-0.4vulnerable
Ubuntulibxml226.042.15.1+dfsg-1vulnerable
Ubuntulibxml226.042.15.1+dfsg-2vulnerable
Ubuntulibxml226.042.15.1+dfsg-2ubuntu1vulnerable
Ubuntulibxml226.042.15.1+dfsg-2ubuntu2vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1ubuntu0.1vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1ubuntu0.2fixed
Ubuntulibxml2pro2.9.4+dfsg1-7ubuntu3vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-7ubuntu5vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu2vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-1ubuntu3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-4build1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.2vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.4vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.5vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.6vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.7vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.8vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.9vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm2vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm4vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm5fixed
Ubuntulibxml222.042.9.12+dfsg-4vulnerable
Ubuntulibxml222.042.9.12+dfsg-5vulnerable
Ubuntulibxml222.042.9.12+dfsg-6vulnerable
Ubuntulibxml222.042.9.13+dfsg-1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1build1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.2vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.3vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.4vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.5vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.6vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.7vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.8vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.9vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.10vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.11vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.12vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.13fixed
Ubuntulibxml224.042.9.14+dfsg-1.3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.4vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.5vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.6vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.7vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.8vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.9fixed
Ubuntulibxml226.042.14.5+dfsg-0.2vulnerable
Ubuntulibxml226.042.14.5+dfsg-0.2build1vulnerable
Ubuntulibxml226.042.15.1+dfsg-0.3vulnerable
Ubuntulibxml226.042.15.1+dfsg-0.4vulnerable
Ubuntulibxml226.042.15.1+dfsg-1vulnerable
Ubuntulibxml226.042.15.1+dfsg-2vulnerable
Ubuntulibxml226.042.15.1+dfsg-2ubuntu1vulnerable
Ubuntulibxml226.042.15.1+dfsg-2ubuntu2vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1ubuntu0.1vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1ubuntu0.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxml2sourcesid2.15.3+dfsg-1not yet assignedNot reportedNot reported
Debianlibxml2sourceforky2.15.3+dfsg-1not yet assignedNot reportedNot reported
Debianlibxml2sourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianlibxml2sourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubuntulibxml2debnoble2.9.14+dfsg-1.3ubuntu3.9Not reportedNot reportedNot reported
Ubuntulibxml2-devdebnoble2.9.14+dfsg-1.3ubuntu3.9Not reportedNot reportedNot reported
Ubuntulibxml2-docdebnoble2.9.14+dfsg-1.3ubuntu3.9Not reportedNot reportedNot reported
Ubuntulibxml2-utilsdebnoble2.9.14+dfsg-1.3ubuntu3.9Not reportedNot reportedNot reported
Ubuntupython3-libxml2debnoble2.9.14+dfsg-1.3ubuntu3.9Not reportedNot reportedNot reported
Ubuntulibxml2debpro2.9.10+dfsg-5ubuntu0.20.04.10+esm5Not reportedUSN-8787-1Not reported
Ubuntulibxml2deb22.042.9.13+dfsg-1ubuntu0.13Not reportedUSN-8787-1Not reported
Ubuntulibxml2deb24.042.9.14+dfsg-1.3ubuntu3.9Not reportedUSN-8787-1Not reported
Ubuntulibxml2deb26.042.15.2+dfsg-0.1ubuntu0.2Not reportedUSN-8787-1Not reported
Ubuntulibxml2debpro2.9.10+dfsg-5ubuntu0.20.04.10+esm5Not reportedUBUNTU-CVE-2026-74860Not reported
Ubuntulibxml2deb22.042.9.13+dfsg-1ubuntu0.13Not reportedUBUNTU-CVE-2026-74860Not reported
Ubuntulibxml2deb24.042.9.14+dfsg-1.3ubuntu3.9Not reportedUBUNTU-CVE-2026-74860Not reported
Ubuntulibxml2deb26.042.15.2+dfsg-0.1ubuntu0.2Not reportedUBUNTU-CVE-2026-74860Not reported

Notes

[bookworm] libxml2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [libxml2-dev]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [libxml2-doc]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [libxml2-utils]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [python3-libxml2]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

[Debian 13 (Trixie)]

  • [libxml2]Affected
    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [libxml2-dev]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [libxml2-doc]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · all · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · all · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · all · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · all · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [libxml2-utils]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [python3-libxml2]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

Observed:

References

[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]