CVE-2024-8176: libexpat · Uncontrolled Recursion
Affects libexpatSource GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 5 Nov 2026, 15:34 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 7.5 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| libexpat | Affected
| Fixed in– |
AI-suggested
Fixes for CVE-2024-8176 are available and included in updated libexpat packages distributed by Red Hat. Users should apply the security updates provided in Red Hat JBoss Core Services Apache HTTP Server 2.4.62 Service Pack 1 and Red Hat Enterprise Linux 9.4 Extended Update Support as detailed in advisories RHSA-2025:13681 and RHSA-2025:22033. Prior to applying updates, back up existing installations. No additional mitigation steps are required beyond applying these official patches.
Description
CVE-2024-8176 is a stack overflow vulnerability in the libexpat XML parsing library caused by uncontrolled recursion during entity expansion. Parsing XML documents with deeply nested entity references can exhaust stack space, leading to crashes. This may result in denial of service or potentially exploitable memory corruption depending on usage context. Red Hat has issued security advisories addressing this flaw with updates available for affected products including Red Hat JBoss Core Services and Red Hat Enterprise Linux 9.4 Extended Update Support.
References
- access.redhat.com/errata/RHSA-2025:13681 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22033 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22034 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22035 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22607 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22785 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22842 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:22871 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:3531 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:3734 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:3913 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:4048 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:4446 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:4447 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:4448 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:4449 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:7444 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:7512 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8385 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-8176 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2310137 (opens in a new tab)
- github.com/libexpat/libexpat/issues/893 (opens in a new tab)
- github.com/libexpat/libexpat/pull/973 (opens in a new tab)
- openwall.com/lists/oss-security/2025/03/15/1 (opens in a new tab)
- blog.hartwork.org/posts/expat-2-7-0-released/ (opens in a new tab)
- github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes (opens in a new tab)
- bugzilla.suse.com/show_bug.cgi?id=1239618 (opens in a new tab)
- ubuntu.com/security/CVE-2024-8176 (opens in a new tab)
- security-tracker.debian.org/tracker/CVE-2024-8176 (opens in a new tab)
- gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53 (opens in a new tab)
- security.netapp.com/advisory/ntap-20250328-0009/ (opens in a new tab)
- kb.cert.org/vuls/id/760160 (opens in a new tab)
- seclists.org/fulldisclosure/2025/May/12 (opens in a new tab)
- seclists.org/fulldisclosure/2025/May/11 (opens in a new tab)
- seclists.org/fulldisclosure/2025/May/10 (opens in a new tab)
- seclists.org/fulldisclosure/2025/May/8 (opens in a new tab)
- seclists.org/fulldisclosure/2025/May/7 (opens in a new tab)
- seclists.org/fulldisclosure/2025/May/6 (opens in a new tab)
- openwall.com/lists/oss-security/2025/09/24/11 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-355557.html (opens in a new tab)