VDB

CVE-2024-8176

CVE-2024-8176 PUBLISHED CVSS 7.5 HIGH

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

Reported by redhat · Published March 14, 2025

libexpat is fixed in 2.7.0 (GitHub Packages)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libexpatGitHub Packages2.7.0
xmlrpc-c-c++Amazon Linux1.51.08-2.amzn2023.0.2
xmlrpc-c-client++Amazon Linux1.51.08-2.amzn2023.0.2
xmlrpc-c-develAmazon Linux1.51.08-2.amzn2023.0.2
xmlrpc-c-appsAmazon Linux1.51.08-2.amzn2023.0.2
expatChainguard2.7.0-r0
xmlrpc-cAmazon Linux1.51.08-2.amzn2023.0.2
expatAlpine2.7.0-r0
xmlrpc-c-clientAmazon Linux1.51.08-2.amzn2023.0.2
expatWolfi2.7.0-r0
SCALANCE XCM-/XRM-/XCH-/XRH-300 familySiemens3.2
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
0
Red HatRed Hat Enterprise Linux 100:2.7.1-1.el10_0
Red HatRed Hat Enterprise Linux 80:2.2.5-17.el8_10
Red HatRed Hat Enterprise Linux 80:1.51.0-11.el8_10
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:2.2.10-1.el8_2
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:1.51.0-5.el8_2.2
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.2.10-1.el8_4
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.51.0-5.el8_4.2
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.2.10-1.el8_4
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Service0:1.51.0-5.el8_4.2
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:1.51.0-5.el8_4.2
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.2.10-1.el8_6
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:1.51.0-6.el8_6.1
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service0:2.2.10-1.el8_6
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service0:1.51.0-6.el8_6.1
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:2.2.10-1.el8_6
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:1.51.0-6.el8_6.1
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support0:1.51.0-8.el8_8.1
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.2.10-1.el8_8
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.2.10-1.el8_8

…and 86 more

Timeline

  • Mar 13, 2025 CVE Published
  • Mar 14, 2025 Coalition ESS Score (30 in total, the first dated here)
  • Mar 15, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Mar 17, 2026 Security Advisory (38 in total, the first dated here)
  • Oct 20, 2026 Distribution Patch (29 in total, the first dated here)
  • Nov 5, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-8176
vulnetix vdb fixes CVE-2024-8176

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8176/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 21 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›