libxml2 -- Stack-based Buffer Overflowentered 2025-05-31
no CVE referenced
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.
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| textproc/linux-c7-libxml2 | linux-c7-libxml2 | 2.9.1_4 | unaddressed | emulation@FreeBSD.org |
| textproc/linux-rl9-libxml2 | linux-rl9-libxml2 | 2.9.13_10 | unaddressed | emulation@FreeBSD.org |
no CVE referenced
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>linux-c7-libxml2</name>
<range><lt>2.12.10</lt></range>
</package>
<package>
<name>linux-rl9-libxml2</name>
<range><lt>2.12.10</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2025-24928</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2025-24928</url>
</references>
<dates>
<discovery>2025-02-18</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>