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
Mentioned vulnerabilities
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Ubuntu Pro 14.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/CVE-2025-24928 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-24928 (opens in a new tab)
- gitlab.gnome.org/GNOME/libxml2/-/issues/847 (opens in a new tab)
- openwall.com/lists/oss-security/2025/02/18/2 (opens in a new tab)
- issues.oss-fuzz.com/issues/392687022 (opens in a new tab)
- ubuntu.com/security/notices/USN-7302-1 (opens in a new tab)