Name | CVE-2024-8176 |
Description | 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 corruption, depending on the environment and library usage. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
expat (PTS) | bullseye | 2.2.10-2+deb11u5 | vulnerable |
bullseye (security) | 2.2.10-2+deb11u6 | vulnerable | |
bookworm, bookworm (security) | 2.5.0-1+deb12u1 | vulnerable | |
trixie | 2.6.4-1 | vulnerable | |
sid | 2.7.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
expat | source | (unstable) | 2.7.0-1 |
https://blog.hartwork.org/posts/expat-2-7-0-released/
https://github.com/libexpat/libexpat/issues/893
https://github.com/libexpat/libexpat/pull/973