Skip to main content
VulnerabilityPublished Updated

CVE-2025-24928: libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in

Affects libxml2Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-24928· High 7.8

Not known to be exploited · CVSS 7.8 High · fixed in 2.9.1+dfsg1-3ubuntu4.13+esm7 : patch libxml2 soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.9.1+dfsg1-3ubuntu4.13+esm7, 2.9.3+dfsg1-1ubuntu0.7+esm7, 2.9.4+dfsg1-6.1ubuntu1.9+esm2 +3
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=nobleOther threatsAffected
  • <2.9.14+dfsg-1.3ubuntu3.2
Fixed in
  • 2.9.14+dfsg-1.3ubuntu3.2
Ubuntu 22.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=jammyOther threatsAffected
  • <2.9.13+dfsg-1ubuntu0.6
Fixed in
  • 2.9.13+dfsg-1ubuntu0.6
Ubuntu 20.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=focalOther threatsAffected
  • <2.9.10+dfsg-5ubuntu0.20.04.9
Fixed in
  • 2.9.10+dfsg-5ubuntu0.20.04.9
Ubuntu Pro 18.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.9.4+dfsg1-6.1ubuntu1.9+esm2
Fixed in
  • 2.9.4+dfsg1-6.1ubuntu1.9+esm2
Ubuntu Pro 16.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2.9.3+dfsg1-1ubuntu0.7+esm7
Fixed in
  • 2.9.3+dfsg1-1ubuntu0.7+esm7
Ubuntu Pro 14.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • <2.9.1+dfsg1-3ubuntu4.13+esm7
Fixed in
  • 2.9.1+dfsg1-3ubuntu4.13+esm7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…