BSD Ports

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

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.

SystemPortVersionStateFixed
DragonFlytextproc/libxml22.11.9_1 fixed
NetBSDtextproc/libxml22.15.4 not listed
MidnightBSDtextproc/libxml22.15.4 out of range, by version
FreeBSDtextproc/libxml22.15.4 fixed (463 days after)