libxml2 -- Stack-based Buffer Overflow
· CVE-2025-24928 · VuXML entry
[email protected] reports: 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.
Affected versions
- libxml2 < 2.11.9_1; >= 2.12.0 < 2.12.10; >= 2.13.0 < 2.13.6
By system
0 still vulnerable, 2 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| DragonFly | textproc/libxml2 | 2.11.9_1 | fixed | |
| NetBSD | textproc/libxml2 | 2.15.4 | not listed | |
| MidnightBSD | textproc/libxml2 | 2.15.4 | out of range, by version | |
| FreeBSD | textproc/libxml2 | 2.15.4 | fixed | (463 days after) |