CVE-2024-8176

NameCVE-2024-8176
DescriptionA 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 corruption, depending on the environment and library usage.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
expat (PTS)bullseye2.2.10-2+deb11u5vulnerable
bullseye (security)2.2.10-2+deb11u6vulnerable
bookworm, bookworm (security)2.5.0-1+deb12u1vulnerable
trixie2.6.4-1vulnerable
sid2.7.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsource(unstable)2.7.0-1

Notes

https://blog.hartwork.org/posts/expat-2-7-0-released/
https://github.com/libexpat/libexpat/issues/893
https://github.com/libexpat/libexpat/pull/973

Search for package or bug name: Reporting problems