Public vulnerability disclosure

CVE-2024-8176

Libexpat: expat: improper restriction of xml entity expansion depth in libexpat

publishedCWE-674

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.

Technical severity7.5 highCVSS 3.1 · CNA: redhat
Published2025-03-14Source updated 2026-11-05
Collected2026-11-052 attributed sources

Fixes and workarounds

Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


libexpat
https://github.com/libexpat/libexpat/
≥ 0; < 2.7.0 (affected, semver)
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.7.1-1.el10_0; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.5-17.el8_10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-11.el8_10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.2 Advanced Update Support
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.2 Advanced Update Support
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-5.el8_2.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-5.el8_4.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Telecommunications Update Service
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-5.el8_4.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-5.el8_4.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-6.el8_6.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-6.el8_6.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-6.el8_6.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Extended Update Support
Red Hat
xmlrpc-c
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.51.0-8.el8_8.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_8; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-1.el8_8; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.5.0-3.el9_5.3; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.5.0-5.el9_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.2.10-12.el9_0.4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.5.0-1.el9_2.3; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.4 Extended Update Support
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
≥ 0:2.5.0-2.el9_4.3; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat JBoss Core Services 2.4.62.SP1
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
DevWorkspace Operator 0.33
Red Hat
devworkspace/devworkspace-project-clone-rhel9
https://catalog.redhat.com/software/containers/
≥ 0.33-1744075017; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Discovery 1.14
Red Hat
discovery/discovery-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.14.3-1748529279; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Discovery 1.14
Red Hat
discovery/discovery-ui-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.14.2-1748467619; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 6
Red Hat
compat-expat1
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Enterprise Linux 6
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Enterprise Linux 7
Red Hat
expat
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Enterprise Linux 7
Red Hat
firefox
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Enterprise Linux 7
Red Hat
thunderbird
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
firefox
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
lua-expat
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
mingw-expat
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
thunderbird
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
firefox
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
firefox:flatpak/firefox
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
thunderbird
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
thunderbird:flatpak/thunderbird
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
openshift/ose-rhel-coreos-8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
openshift/ose-rhel-coreos-9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0; < V3.1.5 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
≥ V3.1.0; < V3.1.5 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0; < V3.1.5 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM RST2428P
Siemens
≥ 0; < V3.2 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
Siemens
≥ 0; < V3.2 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
SCALANCE XCM-/XRM-/XCH-/XRH-300 family
Siemens
≥ 0; < V3.2 (affected, custom)
Other versions: unknown
ADP: siemens-SADP

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCNA: redhat

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide