Logo
vulnerabilityCVE-2024-8176
Name
CVE-2024-8176
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
expat
Patched

Vulnerability Ratings#


7.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
2.8.1
Not Affected
buildroot
master
2.8.1
Not Affected
openwrt
master
2.8.1-r1
Not Affected
openwrt
openwrt-25.12
2.8.1-r1
Not Affected
yocto
kirkstone
2.5.0
Not Affected
yocto
master
2.8.1
Not Affected

Resolved with patches#


expat (yocto:scarthgap)

#
Title
Author
Resolve
1
tests: Add line/column checks to async entity tests
=?UTF-8?q?Berkay=20Eren=20=C3=9Cr=C3=BCn?= <berkay.ueruen@tum.de>
CVE-2024-8176
2
lib: Fix detection of asynchronous tags in entities
=?UTF-8?q?Berkay=20Eren=20=C3=9Cr=C3=BCn?= <berkay.ueruen@tum.de>
CVE-2024-8176
3
Stop updating event pointer on exit for reentry (fixes #980)
Peter Marko <peter.marko@siemens.com>
CVE-2024-8176
4
tests: Cover XML_ERROR_ASYNC_ENTITY cases
Sebastian Pipping <sebastian@pipping.org>
CVE-2024-8176
5
[CVE-2024-8176] Resolve the recursion during entity
Peter Marko <peter.marko@siemens.com>
CVE-2024-8176