CVE catalog

CVE-2025-24928

libxml2 vulnerabilities

[CVE catalog]

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

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.

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
Ubuntulibxml2noble2.9.14+dfsg-1.3~deb12u2fixed
Ubuntulibxml2noble2.9.14+dfsg-1.3ubuntu3.2fixed
Ubuntulibxml2-devnoble2.9.14+dfsg-1.3ubuntu3.2fixed
Ubuntulibxml2-docnoble2.9.14+dfsg-1.3ubuntu3.2fixed
Ubuntulibxml2-utilsnoble2.9.14+dfsg-1.3ubuntu3.2fixed
Ubuntupython3-libxml2noble2.9.14+dfsg-1.3ubuntu3.2fixed
Alpinelibxml23.182.11.8-r1fixed
Alpinelibxml23.192.11.8-r1fixed
Alpinelibxml23.202.12.7-r1fixed
Alpinelibxml23.212.13.4-r4fixed
Alpinelibxml23.222.13.6-r0fixed
Alpinelibxml23.232.13.6-r0fixed
Alpinelibxml23.242.13.6-r0fixed
Ubuntulibxml2pro2.9.4+dfsg1-4ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-5ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-5ubuntu2vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-5.1ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-5.2ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.2vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.3vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.4vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.5vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.6vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.7vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.8vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.9vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.9+esm1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-6.1ubuntu1.9+esm2fixed
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.1vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.2vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.3vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.4vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.5vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.6vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.7vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.8vulnerable
Ubuntulibxml220.042.9.10+dfsg-5ubuntu0.20.04.9fixed
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.6fixed
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.2fixed
Opensusepython-lxmltumbleweed5.3.2-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxml2sourcesid2.12.7+dfsg+really2.9.14-0.4not yet assignedNot reported[1098321]
Debianlibxml2sourceforky2.12.7+dfsg+really2.9.14-0.4not yet assignedNot reported[1098321]
Debianlibxml2sourcetrixie2.12.7+dfsg+really2.9.14-0.4not yet assignedNot reported[1098321]
Debianlibxml2sourcebookworm2.9.14+dfsg-1.3~deb12u2not yet assignedNot reported[1098321]
Ubuntulibxml2debnoble2.9.14+dfsg-1.3~deb12u2Not reportedNot reportedNot reported
Ubuntulibxml2debnoble2.9.14+dfsg-1.3ubuntu3.2Not reportedNot reportedNot reported
Ubuntulibxml2-devdebnoble2.9.14+dfsg-1.3ubuntu3.2Not reportedNot reportedNot reported
Ubuntulibxml2-docdebnoble2.9.14+dfsg-1.3ubuntu3.2Not reportedNot reportedNot reported
Ubuntulibxml2-utilsdebnoble2.9.14+dfsg-1.3ubuntu3.2Not reportedNot reportedNot reported
Ubuntupython3-libxml2debnoble2.9.14+dfsg-1.3ubuntu3.2Not reportedNot reportedNot reported
Alpinelibxml2apk3.182.11.8-r1Not reportedALPINE-CVE-2025-24928Not reported
Alpinelibxml2apk3.192.11.8-r1Not reportedALPINE-CVE-2025-24928Not reported
Alpinelibxml2apk3.202.12.7-r1Not reportedALPINE-CVE-2025-24928Not reported
Alpinelibxml2apk3.212.13.4-r4Not reportedALPINE-CVE-2025-24928Not reported
Alpinelibxml2apk3.222.13.6-r0Not reportedALPINE-CVE-2025-24928Not reported
Alpinelibxml2apk3.232.13.6-r0Not reportedALPINE-CVE-2025-24928Not reported
Alpinelibxml2apk3.242.13.6-r0Not reportedALPINE-CVE-2025-24928Not reported
Ubuntulibxml2debpro2.9.4+dfsg1-6.1ubuntu1.9+esm2Not reportedUBUNTU-CVE-2025-24928Not reported
Ubuntulibxml2deb20.042.9.10+dfsg-5ubuntu0.20.04.9Not reportedUBUNTU-CVE-2025-24928Not reported
Ubuntulibxml2deb22.042.9.13+dfsg-1ubuntu0.6Not reportedUBUNTU-CVE-2025-24928Not reported
Ubuntulibxml2deb24.042.9.14+dfsg-1.3ubuntu3.2Not reportedUBUNTU-CVE-2025-24928Not reported
Opensusepython-lxmlrpmtumbleweed5.3.2-1.1Not reportedOPENSUSE-SU-2025:14999-1Not reported

[Debian bug #1098321]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-lxml]

    Details (1)
    • 6.1.1-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 5.3.2-1.1

      Version impact unknown

      usn · python-lxml · opensuse · tumbleweed

  • Source package: [python-lxml]

    Details (1)
    • 6.1.1-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 5.3.2-1.1

      Version impact unknown

      usn · python-lxml · opensuse · tumbleweed

  • Source package: [python-lxml]

    Details (1)
    • 6.1.1-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 5.3.2-1.1

      Version impact unknown

      usn · python-lxml · opensuse · tumbleweed

  • Source package: [python-lxml]

    Details (1)
    • 6.1.1-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 5.3.2-1.1

      Version impact unknown

      usn · python-lxml · opensuse · tumbleweed

  • Source package: [python-lxml]

    Details (1)
    • 6.1.1-2.2 · noarch · tumbleweed

      Unknown · Fixed: 5.3.2-1.1

      Version impact unknown

      usn · python-lxml · opensuse · tumbleweed

[Debian 12 (Bookworm)]

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

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

      Fixed · Fixed: 2.9.14+dfsg-1.3~deb12u2

      usn · libxml2 · debian · bookworm; usn · libxml2 · debian · 12

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

  • Source package: [libxml2]

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

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

      Fixed · Fixed: 2.12.7+dfsg+really2.9.14-0.4

      usn · libxml2 · debian · 13

Observed:

References