BSD Ports

expat: improper restriction of xml entity expansion depth

· CVE-2024-8176 · VuXML entry

[email protected] reports: A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory …

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/expat22.7.0 fixed
NetBSDtextproc/expat2.8.5 not listed
MidnightBSDtextproc/expat22.9.0 out of range, by version
FreeBSDtextproc/expat22.9.0 fixed (498 days after)