Skip to content
Fencer Vulns
high 7.5

CVE-2024-8176 json

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

published 2025-03-14 19 mo ago modified 2026-11-05 3 d ago also EUVD-2024-54057

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 71%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 10 0:2.7.1-1.el10_0
  • Red Hat Red Hat Enterprise Linux 8 0:1.51.0-11.el8_10, 0:2.2.5-17.el8_10
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support 0:1.51.0-5.el8_2.2, 0:2.2.10-1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:1.51.0-5.el8_4.2, 0:2.2.10-1.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:2.2.10-1.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service 0:1.51.0-5.el8_4.2
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions 0:1.51.0-5.el8_4.2
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:1.51.0-6.el8_6.1, 0:2.2.10-1.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:1.51.0-6.el8_6.1, 0:2.2.10-1.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:1.51.0-6.el8_6.1, 0:2.2.10-1.el8_6
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 0:1.51.0-8.el8_8.1
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:2.2.10-1.el8_8
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:2.2.10-1.el8_8
  • Red Hat Red Hat Enterprise Linux 9 0:2.5.0-3.el9_5.3, 0:2.5.0-5.el9_6
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:2.2.10-12.el9_0.4
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:2.5.0-1.el9_2.3
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:2.5.0-2.el9_4.3
  • Red Hat DevWorkspace Operator 0.33 0.33-1744075017
  • Red Hat Red Hat Discovery 1.14 1.14.2-1748467619, 1.14.3-1748529279
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens RUGGEDCOM RST2428P V3.2
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family V3.2
  • Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family V3.2
  • expat Debian 12 2.5.0-1+deb12u2
  • expat Debian 14, Debian 13 2.7.0-1

debian advisories DEBIAN-CVE-2024-8176

  • expat Ubuntu 22.04 LTS 2.4.7-1ubuntu0.6
  • expat Ubuntu 24.04 LTS 2.6.1-2ubuntu0.3
  • expat Ubuntu 25.10 2.7.1-1

ubuntu advisories UBUNTU-CVE-2024-8176

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • expat RHEL 10.0 2.7.1-1.el10_0
  • expat RHEL 9 2.5.0-5.el9_6
  • xmlrpc-c RHEL 8 1.51.0-11.el8_10
  • xmlrpc-c-c++ RHEL 8 1.51.0-11.el8_10
  • xmlrpc-c-client RHEL 8 1.51.0-11.el8_10
  • xmlrpc-c-client++ RHEL 8 1.51.0-11.el8_10
  • expat RHEL 8 2.2.5-17.el8_10
  • expat RHEL 9 2.5.0-3.el9_5.3

red hat advisories RHSA-2025:22871RHSA-2025:22842RHSA-2025:22785RHSA-2025:22607RHSA-2025:22034RHSA-2025:22033

  • expat Linux Micro 6.0 2.8.5-159998.1.1
  • expat SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +10 more 2.8.5-150400.3.40.1
  • expat SLE Module for Basesystem 15 SP7 2.7.1-150700.3.3.1
  • expat Linux Micro 6.1 2.7.1-slfo.1.1_1.1
  • expat Linux Micro 6.0 2.7.1-1.1
  • expat SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +12 more 2.7.1-150400.3.28.1
  • expat SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 2.7.1-150000.3.36.1
  • expat SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.8.5-21.55.1

suse advisories SUSE-SU-2026:24323-1SUSE-SU-2026:4623-1SUSE-SU-2026:4615-1SUSE-SU-2025:03239-1SUSE-SU-2025:20311-1SUSE-SU-2025:20207-1

  • expat openSUSE Tumbleweed 2.7.1-1.1

opensuse advisories openSUSE-SU-2025:14952-1

  • expat AlmaLinux 9 2.5.0-5.el9_6
  • expat AlmaLinux 10 2.7.1-1.el10_0
  • xmlrpc-c AlmaLinux 8 1.51.0-11.el8_10
  • xmlrpc-c-c++ AlmaLinux 8 1.51.0-11.el8_10
  • xmlrpc-c-client AlmaLinux 8 1.51.0-11.el8_10
  • xmlrpc-c-client++ AlmaLinux 8 1.51.0-11.el8_10
  • expat AlmaLinux 8 2.2.5-17.el8_10
  • expat AlmaLinux 9 2.5.0-3.el9_5.3

almalinux advisories ALSA-2025:7444ALSA-2025:7512ALSA-2025:4048ALSA-2025:3913ALSA-2025:3531

  • expat Rocky Linux 10 2.7.1-1.el10_0
  • expat Rocky Linux 9 2.5.0-3.el9_5.3
  • expat Rocky Linux 8 2.2.5-17.el8_10
  • xmlrpc-c Rocky Linux 8 1.51.0-11.el8_10

rocky linux advisories RLSA-2025:7512RLSA-2025:3531RLSA-2025:3913RLSA-2025:4048

  • expat Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 2.7.0-r0

alpine advisories ALPINE-CVE-2024-8176

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • expat CBL-Mariner 2.0, Azure Linux 3.0 2.6.4-1

azure linux advisories AZL-58641AZL-58671

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-8176 updated cvss 7.5

libexpat: expat: Improper Restriction of XML Entity Expansion Depth in libexpat

  • Red Hat Enterprise Linux 6 expat, compat-expat1 Red Hat Enterprise Linux 7 expat, firefox, thunderbird
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 firefox, mingw-expat, thunderbird, mingw32-expat, mingw64-expat Red Hat Enterprise Linux 9 firefox, firefox-x11, thunderbird
    affected: workaround, no fix available
  • Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat DevWorkspace Operator 0.33 devworkspace 0.33-1744075017
    fixed: vendor fix RHSA-2025:3734
  • Red Hat CodeReady Linux Builder EUS (v.8.8) xmlrpc-c-c++ 1.51.0-8.el8_8.1, xmlrpc-c-client++ 1.51.0-8.el8_8.1
    fixed: vendor fix RHSA-2025:4446
  • Red Hat Discovery 1.14 discovery 1.14.2-1748467619, discovery 1.14.3-1748529279
    fixed: vendor fix RHSA-2025:8385
  • Red Hat Enterprise Linux AppStream (v. 9) expat-devel 2.5.0-5.el9_6, expat-devel 2.5.0-3.el9_5.3, expat-debuginfo 2.5.0-5.el9_6, expat-debuginfo 2.5.0-3.el9_5.3, expat-debugsource 2.5.0-5.el9_6, expat-debugsource 2.5.0-3.el9_5.3
    fixed: vendor fix RHSA-2025:3531
  • Red Hat Enterprise Linux AppStream (v. 10) expat-devel 2.7.1-1.el10_0, expat-debuginfo 2.7.1-1.el10_0, expat-debugsource 2.7.1-1.el10_0
    fixed: vendor fix RHSA-2025:7512
show 20 more
  • Red Hat Enterprise Linux BaseOS (v. 8) expat 2.2.5-17.el8_10, xmlrpc-c 1.51.0-11.el8_10, xmlrpc-c-client 1.51.0-11.el8_10
    fixed: vendor fix RHSA-2025:3913
  • Red Hat Enterprise Linux BaseOS (v. 9) expat 2.5.0-5.el9_6, expat 2.5.0-3.el9_5.3
    fixed: vendor fix RHSA-2025:3531
  • Red Hat Enterprise Linux BaseOS (v. 10) expat 2.7.1-1.el10_0
    fixed: vendor fix RHSA-2025:7512
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) expat 2.2.10-1.el8_2, xmlrpc-c 1.51.0-5.el8_2.2, xmlrpc-c-client 1.51.0-5.el8_2.2
    fixed: vendor fix RHSA-2025:22871
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) expat 2.2.10-1.el8_4, xmlrpc-c 1.51.0-5.el8_4.2, xmlrpc-c-client 1.51.0-5.el8_4.2
    fixed: vendor fix RHSA-2025:22785
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) expat 2.2.10-1.el8_6, xmlrpc-c 1.51.0-6.el8_6.1, xmlrpc-c-client 1.51.0-6.el8_6.1
    fixed: vendor fix RHSA-2025:22842
  • Red Hat Enterprise Linux BaseOS E4S (v.8.4) xmlrpc-c 1.51.0-5.el8_4.2, xmlrpc-c-client 1.51.0-5.el8_4.2
    fixed: vendor fix RHSA-2025:4448
  • Red Hat Enterprise Linux BaseOS E4S (v.8.6) expat 2.2.10-1.el8_6, xmlrpc-c 1.51.0-6.el8_6.1, xmlrpc-c-client 1.51.0-6.el8_6.1
    fixed: vendor fix RHSA-2025:22842
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) expat 2.2.10-1.el8_8
    fixed: vendor fix RHSA-2025:22607
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) expat 2.2.10-12.el9_0.4
    fixed: vendor fix RHSA-2025:22035
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) expat 2.5.0-1.el9_2.3
    fixed: vendor fix RHSA-2025:22034
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) xmlrpc-c 1.51.0-8.el8_8.1, xmlrpc-c-client 1.51.0-8.el8_8.1
    fixed: vendor fix RHSA-2025:4446
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) expat 2.5.0-2.el9_4.3
    fixed: vendor fix RHSA-2025:22033
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) expat 2.2.10-1.el8_4
    fixed: vendor fix RHSA-2025:22785
  • Red Hat Enterprise Linux BaseOS TUS (v.8.4) xmlrpc-c 1.51.0-5.el8_4.2, xmlrpc-c-client 1.51.0-5.el8_4.2
    fixed: vendor fix RHSA-2025:4448
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) expat 2.2.10-1.el8_6, xmlrpc-c 1.51.0-6.el8_6.1, xmlrpc-c-client 1.51.0-6.el8_6.1
    fixed: vendor fix RHSA-2025:22842
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) expat 2.2.10-1.el8_8
    fixed: vendor fix RHSA-2025:22607
  • Red Hat Enterprise Linux CRB (v. 8) xmlrpc-c-c++ 1.51.0-11.el8_10, xmlrpc-c-client++ 1.51.0-11.el8_10
    fixed: vendor fix RHSA-2025:4048
  • Red Hat JBoss Core Services 2.4.62.SP1
    fixed: vendor fix RHSA-2025:13681
  • Red Hat DevWorkspace Operator 0.33 devworkspace 0.33-1744077845, devworkspace 0.33-1744081731 Red Hat Enterprise Linux 8 lua-expat Red Hat Enterprise Linux AppStream E4S (v.9.0) expat-devel 2.2.10-12.el9_0.4, expat-debuginfo 2.2.10-12.el9_0.4, expat-debugsource 2.2.10-12.el9_0.4 Red Hat Enterprise Linux AppStream E4S (v.9.2) expat-devel 2.5.0-1.el9_2.3, expat-debuginfo 2.5.0-1.el9_2.3, expat-debugsource 2.5.0-1.el9_2.3 Red Hat Enterprise Linux AppStream EUS (v.9.4) expat-devel 2.5.0-2.el9_4.3, expat-debuginfo 2.5.0-2.el9_4.3, expat-debugsource 2.5.0-2.el9_4.3 Red Hat Enterprise Linux BaseOS AUS (v. 8.2) expat 2.2.10-1.el8_2
    +5 more products
    Red Hat Enterprise Linux BaseOS AUS (v.8.4) expat 2.2.10-1.el8_4 Red Hat Enterprise Linux BaseOS AUS (v.8.6) expat 2.2.10-1.el8_6 Red Hat Enterprise Linux BaseOS E4S (v.8.6) expat 2.2.10-1.el8_6 Red Hat Enterprise Linux BaseOS E4S (v.8.8) expat 2.2.10-1.el8_8 Red Hat Enterprise Linux BaseOS E4S (v.9.0) expat 2.2.10-12.el9_0.4
    not affected: vulnerable code not present

5 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-062-03 updated cvss 7.5

Hitachi Energy RTU500 Product (Update A)

  • Hitachi Energy RTU500 series CMU Firmware vers:RTU500_series_CMU_Firmware/>=12.7.1, <=12.7.7, vers:RTU500_series_CMU_Firmware/>=13.5.1, <=13.5.4, vers:RTU500_series_CMU_Firmware/>=13.6.1, <=13.6.2, vers:RTU500_series_CMU_Firmware/>=13.7.1, <=13.7.7
    affected: vendor fix, mitigation

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-26-279-05 updated cvss 6.5

Hitachi Energy REB500

  • Hitachi Energy REB500 <= 8.3.3.1
    affected: fixed in 8.3.4.0

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-26-155-02 updated cvss 7.5

Hitachi Energy ITT600 Explorer

  • Hitachi Energy ITT600 Explorer vers:ITT600_Explorer/<2.1_SP6
    affected: fixed in 2.1
  • Hitachi Energy ITT600 Explorer 2.1_SP6
    fixed

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-226-07 updated cvss 7.5

Siemens Third-Party Components in SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.2
    affected: fixed in V3.2 support.industry.siemens.com
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.2
    affected: fixed in V3.2
  • Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < 3.2
    affected: fixed in V3.2 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-348-10 updated cvss 7.5

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 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

  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
  • Red Hat Red Hat JBoss Core Services 2.4.62.SP1
  • Red Hat DevWorkspace Operator 0.33
  • Red Hat Red Hat Discovery 1.14
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat OpenShift Container Platform 4
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens RUGGEDCOM RST2428P
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
  • Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.