FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

libxml2 -- Stack-based Buffer Overflow

Affected packages
libxml2 < 2.13.6

Details

VuXML ID fdd02be0-3e50-11f0-95d4-00a098b42aeb
Discovery 2025-02-18
Entry 2025-05-31

cve@mitre.org 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.

References

CVE Name CVE-2025-24928
URL https://nvd.nist.gov/vuln/detail/CVE-2025-24928