CVE-2025-24928: libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in
Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.8 High : upgrade to 2.13.6 or 2.12.10 soon.
Data as of 30 Oct 2026, 16:04 UTC
- Patch
- Available – fixed in 2.13.6, 2.12.10
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 30 Oct 2026.
What to do
Upgrade libxml2 and the Debian debian/libxml2 package to 2.13.6 or 2.12.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| xmlsoftlibxml2 | Affected
| Fixed in
|
| xmlsoftlibxml2 | Affected
| Fixed in
|
Debiandebian/libxml2pkg:deb/debian/libxml2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid validating DTDs from untrusted sources to mitigate risk.
Description
A stack-based buffer overflow vulnerability exists in libxml2 versions before 2.12.10 and 2.13.x before 2.13.6 in the xmlSnprintfElements function within valid.c. Exploitation requires DTD validation of an untrusted document or DTD. This vulnerability is similar to CVE-2017-9047 and has a high severity rating with a CVSS score of 7.8.
References
- nvd.nist.gov/vuln/detail/CVE-2025-24928 (opens in a new tab)
- gitlab.gnome.org/GNOME/libxml2/-/issues/847 (opens in a new tab)
- issues.oss-fuzz.com/issues/392687022 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/02/msg00028.html (opens in a new tab)
- security.netapp.com/advisory/ntap-20250321-0006 (opens in a new tab)