CVE-2024-8176: Libexpat: expat: improper restriction of xml entity expansion depth in libexpat
Vulnerability summary
CVE-2024-8176 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in expat. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 71.6% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 7Timeline
- 14-03-2025PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.35%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 1.33% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse23 products
- expat&distro=SUSE Enterprise Storage 7.1< 2.7.1-150000.3.36.1
- expat&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 2.7.1-150000.3.36.1
- expat&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.7.1-150400.3.28.1
- expat&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.7.1-150400.3.28.1
- expat&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 2.7.1-150400.3.28.1
Ubuntu16 products
- ayttmAll versions (No fix recorded)
- cableswigAll versions (No fix recorded)
- cadaverAll versions (No fix recorded)
- coin3All versions (No fix recorded)
- expatAll versions (No fix recorded) | < 2.4.7-1ubuntu0.6 | < 2.6.1-2ubuntu0.3 | < 2.7.1-1
Redhat13 products
- expat< 0:2.5.0-3.el9_5.3 | < 0:2.2.5-17.el8_10 | < 0:2.5.0-5.el9_6 | < 0:2.7.1-1.el10_0
- expat-debuginfo< 0:2.5.0-3.el9_5.3 | < 0:2.2.5-17.el8_10 | < 0:2.5.0-5.el9_6 | < 0:2.7.1-1.el10_0
- expat-debugsource< 0:2.5.0-3.el9_5.3 | < 0:2.2.5-17.el8_10 | < 0:2.5.0-5.el9_6 | < 0:2.7.1-1.el10_0
- expat-devel< 0:2.5.0-3.el9_5.3 | < 0:2.2.5-17.el8_10 | < 0:2.5.0-5.el9_6 | < 0:2.7.1-1.el10_0
- xmlrpc-c< 0:1.51.0-11.el8_10 | < 0:1.51.0-8.el8_8.1 | < 0:1.51.0-5.el8_2.2 | < 0:1.51.0-5.el8_4.2 | < 0:1.51.0-6.el8_6.1
Debian2 products
- expat< 2.5.0-1+deb12u2 | < 2.7.0-1
- libxmltokAll versions (No fix recorded)
Opensuse2 products
- expat&distro=openSUSE Leap 15.6< 2.7.1-150400.3.28.1
- expat&distro=openSUSE Tumbleweed< 2.7.1-1.1
Alpine1 product
- expat< 2.7.0-r0
Chainguard1 product
- expat< 2.7.0-r0
Mageia1 product
- expat< 2.7.0-1.mga9
Wolfi1 product
- expat< 2.7.0-r0
9 vendors · 60 products
References
71 linksShow all 71 references
- lists.opensuse.org/archives/…Advisory