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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libexpat | < 2.7.0 | 2.7.0 |
| 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 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | expat | 2.7.0-1 | — |
| Debian 13 | expat | 2.7.0-1 | — |
| Debian 12 | expat | 2.5.0-1+deb12u2 | — |
| Debian 12 | libxmltok | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tdom +5 | No fix yet | — |
| Ubuntu 26.04 LTS | tdom +4 | No fix yet | — |
| Ubuntu 25.10 | expat | 2.7.1-1 | — |
| Ubuntu 25.10 | tdom +5 | No fix yet | — |
| Ubuntu 24.04 LTS | expat | 2.6.1-2ubuntu0.3 | USN-7424-1 |
| Ubuntu 24.04 LTS | tdom +3 | No fix yet | — |
| Ubuntu 22.04 LTS | expat | 2.4.7-1ubuntu0.6 | USN-7424-1 |
| Ubuntu 22.04 LTS | tdom +4 | No fix yet | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tdom +4 | No fix yet | — |
| Ubuntu 18.04 LTS | gdcm +7 | No fix yet | — |
| Ubuntu 16.04 LTS | gdcm +6 | No fix yet | — |
| Ubuntu Pro 26.04 LTS | swish-e | No fix yet | — |
| Ubuntu Pro 24.04 LTS | swish-e +2 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | swish-e +2 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | expat +3 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | coin3 +4 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | vtk +8 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | vtk +4 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | expat +1 | 2.7.1-1.el10_0 | RHSA-2025:7512 |
| RHEL 9 | expat +1 | 2.5.0-3.el9_5.3 | RHSA-2025:7444, RHSA-2025:3531 |
| RHEL 8 | expat +1 | 2.2.5-17.el8_10 | RHSA-2025:3913 |
| RHEL 8 | xmlrpc-c +4 | 1.51.0-11.el8_10 | RHSA-2025:4048 |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | expat | 2.5.0-2.el9_4.3 | RHSA-2025:22033 |
| RHEL 9.2 E4S | expat | 2.5.0-1.el9_2.3 | RHSA-2025:22034 |
| RHEL 9.0 E4S | expat | 2.2.10-12.el9_0.4 | RHSA-2025:22035 |
| RHEL 8.8 TUS | expat | 2.2.10-1.el8_8 | RHSA-2025:22607 |
| RHEL 8.8 EUS | xmlrpc-c +4 | 1.51.0-8.el8_8.1 | RHSA-2025:4446 |
| RHEL 8.8 E4S | expat | 2.2.10-1.el8_8 | RHSA-2025:22607 |
| RHEL 8.6 TUS | expat | 2.2.10-1.el8_6 | RHSA-2025:22842 |
| RHEL 8.6 TUS | xmlrpc-c +1 | 1.51.0-6.el8_6.1 | RHSA-2025:4449 |
| RHEL 8.6 E4S | expat | 2.2.10-1.el8_6 | RHSA-2025:22842 |
| RHEL 8.6 E4S | xmlrpc-c +1 | 1.51.0-6.el8_6.1 | RHSA-2025:4449 |
| RHEL 8.6 AUS | expat | 2.2.10-1.el8_6 | RHSA-2025:22842 |
| RHEL 8.6 AUS | xmlrpc-c +1 | 1.51.0-6.el8_6.1 | RHSA-2025:4449 |
| RHEL 8.4 TUS | xmlrpc-c +1 | 1.51.0-5.el8_4.2 | RHSA-2025:4448 |
| RHEL 8.4 EUS Long Life | expat | 2.2.10-1.el8_4 | RHSA-2025:22785 |
| RHEL 8.4 E4S | xmlrpc-c +1 | 1.51.0-5.el8_4.2 | RHSA-2025:4448 |
| RHEL 8.4 AUS | expat | 2.2.10-1.el8_4 | RHSA-2025:22785 |
| RHEL 8.4 AUS | xmlrpc-c +1 | 1.51.0-5.el8_4.2 | RHSA-2025:4448 |
| RHEL 8.2 AUS | expat | 2.2.10-1.el8_2 | RHSA-2025:22871 |
| RHEL 8.2 AUS | xmlrpc-c +1 | 1.51.0-5.el8_2.2 | RHSA-2025:4447 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | expat +1 | 2.7.1-1.el10_0 | ALSA-2025:7512 |
| AlmaLinux 9 | expat +1 | 2.5.0-3.el9_5.3 | ALSA-2025:7444, ALSA-2025:3531 |
| AlmaLinux 8 | expat +1 | 2.2.5-17.el8_10 | ALSA-2025:3913 |
| AlmaLinux 8 | xmlrpc-c +4 | 1.51.0-11.el8_10 | ALSA-2025:4048 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | expat | 2.7.1-1.el10_0 | RLSA-2025:7512 |
| Rocky Linux 9 | expat | 2.5.0-3.el9_5.3 | RLSA-2025:3531 |
| Rocky Linux 8 | expat | 2.2.5-17.el8_10 | RLSA-2025:3913 |
| Rocky Linux 8 | xmlrpc-c | 1.51.0-11.el8_10 | RLSA-2025:4048 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | expat | 2.7.1-150700.3.3.1 | SUSE-SU-2025:03239-1 |
| SLES 15 SP6 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLES 15 SP5 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLES 15 SP4 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLES 15 SP3 | expat | 2.7.1-150000.3.36.1 | SUSE-SU-2025:1186-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | expat | 2.7.1-21.43.1 | SUSE-SU-2026:4615-1, SUSE-SU-2025:1295-1 |
| SLES for SAP 15 SP6 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLES for SAP 15 SP5 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLES for SAP 15 SP4 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLES for SAP 15 SP3 | expat | 2.7.1-150000.3.36.1 | SUSE-SU-2025:1186-1 |
| SLE Micro 6.1 | expat | 2.7.1-slfo.1.1_1.1 | SUSE-SU-2025:20311-1 |
| SLE Micro 6.0 | expat | 2.7.1-1.1 | SUSE-SU-2026:24323-1, SUSE-SU-2025:20207-1 |
| SLE Micro 5.5 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLE Micro 5.4 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLE Micro 5.3 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLE Micro 5.2 | expat | 2.7.1-150000.3.36.1 | SUSE-SU-2025:1186-1 |
| SLE Micro 5.1 | expat | 2.7.1-150000.3.36.1 | SUSE-SU-2025:1186-1 |
| SLE HPC 15 SP5 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLE HPC 15 SP4 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2026:4623-1, SUSE-SU-2025:1201-1 |
| SLE HPC 15 SP3 | expat | 2.7.1-150000.3.36.1 | SUSE-SU-2025:1186-1 |
| SUSE Manager Server 4.3 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2025:1201-1 |
| SUSE Manager Proxy 4.3 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2025:1201-1 |
| SUSE Enterprise Storage 7.1 | expat | 2.7.1-150000.3.36.1 | SUSE-SU-2025:1186-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | expat | 2.7.1-1.1 | openSUSE-SU-2025:14952-1 |
| openSUSE Leap 15.6 | expat | 2.7.1-150400.3.28.1 | SUSE-SU-2025:1201-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | expat | 2.7.0-r0 | — |
| Alpine v3.23 | expat | 2.7.0-r0 | — |
| Alpine v3.22 | expat | 2.7.0-r0 | — |
| Alpine v3.21 | expat | 2.7.0-r0 | — |
| Alpine v3.20 | expat | 2.7.0-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | expat | 2.7.0-r0 | — |
| Alpine v3.18 | expat | 2.7.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | xmlrpc-c +5 | 1.51.08-2.amzn2023.0.2 | ALAS2023-2025-1229 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | expat | 2.6.4-1 | — |
| Azure Linux 2 (CBL-Mariner) | expat | 2.6.4-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | expat +1 | 2.7.1-1.el10_0 | ELSA-2025-7512 |
| Oracle Linux 9 | expat +1 | 2.5.0-3.el9_5.3 | ELSA-2025-7444, ELSA-2025-3531 |
| Oracle Linux 8 | expat +1 | 2.2.5-17.0.1.el8_10 | ELSA-2025-3913 |
| Oracle Linux 8 | xmlrpc-c +4 | 1.51.0-11.el8_10 | ELSA-2025-4048 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | expat | 2.7.0-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
uthrasri/Expat_2.6.2_CVE-2024-8176 ★ 0 · Apr 2, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 50
- WID-SEC-2025-0562 expat: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Nov 5, 2026
- ALSA-2025:7512 Moderate: expat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:7444 Moderate: expat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:3531 Moderate: expat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:3913 Moderate: expat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:4048 Moderate: xmlrpc-c security update AlmaLinux Security Advisories · Oct 29, 2026
- SUSE-SU-2026:24323-1 Security update for expat SUSE / openSUSE Security Updates · Oct 27, 2026
- ICSA-26-062-03 Hitachi Energy RTU500 Product (Update A) CISA ICS & IT advisories · Oct 20, 2026
- RHSA-2025:7512 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:7444 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:4448 Red Hat Security Advisory: xmlrpc-c security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:4449 Red Hat Security Advisory: xmlrpc-c security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:4447 Red Hat Security Advisory: xmlrpc-c security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:4048 Red Hat Security Advisory: xmlrpc-c security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:4446 Red Hat Security Advisory: xmlrpc-c security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:3913 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:3531 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22871 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22842 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22607 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22785 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22034 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22035 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22033 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SUSE-SU-2026:4623-1 Security update for expat SUSE / openSUSE Security Updates · Oct 13, 2026
- SUSE-SU-2026:4615-1 Security update for expat SUSE / openSUSE Security Updates · Oct 13, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- ICSA-26-279-05 Hitachi Energy REB500 CISA ICS & IT advisories · Oct 6, 2026
- WID-SEC-2025-1559 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- ICSA-26-155-02 Hitachi Energy ITT600 Explorer CISA ICS & IT advisories · Jun 4, 2026
- USN-7424-1 expat vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2025:20311-1 Security update for expat SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20207-1 Security update for expat SUSE / openSUSE Security Updates · Mar 23, 2026
- ICSA-25-226-07 Siemens Third-Party Components in SINEC OS CISA ICS & IT advisories · Feb 25, 2026
- SSA-355557 SSA-355557: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.2 Siemens ProductCERT · Feb 24, 2026
- SUSE-SU-2025:1201-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1295-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1186-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14952-1 expat-2.7.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03239-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1365 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 18, 2026
- WID-SEC-2025-1007 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 23, 2025
- WID-SEC-2025-1003 Apple iOS und iPadOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 23, 2025
- WID-SEC-2025-1850 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 17, 2025
- ALAS2023-2025-1229 Important: xmlrpc-c security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 27, 2025
- RLSA-2025:7512 Moderate: expat security update Rocky Linux Security Advisories · Oct 3, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- RLSA-2025:3531 Moderate: expat security update Rocky Linux Security Advisories · Jul 29, 2025
- RLSA-2025:4048 Moderate: xmlrpc-c security update Rocky Linux Security Advisories · Jul 29, 2025
References
- RHSA-2025:13681 vendor-advisory
- RHSA-2025:22033 vendor-advisory
- RHSA-2025:22034 vendor-advisory
- RHSA-2025:22035 vendor-advisory
- RHSA-2025:22607 vendor-advisory
- RHSA-2025:22785 vendor-advisory
- RHSA-2025:22842 vendor-advisory
- RHSA-2025:22871 vendor-advisory
- RHSA-2025:3531 vendor-advisory
- RHSA-2025:3734 vendor-advisory
- RHSA-2025:3913 vendor-advisory
- RHSA-2025:4048 vendor-advisory
- RHSA-2025:4446 vendor-advisory
- RHSA-2025:4447 vendor-advisory
- RHSA-2025:4448 vendor-advisory
- RHSA-2025:4449 vendor-advisory
- RHSA-2025:7444 vendor-advisory
- RHSA-2025:7512 vendor-advisory
- RHSA-2025:8385 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-8176 vdb-entry
- RHBZ#2310137 issue-tracking
- https://github.com/libexpat/libexpat/issues/893
- https://github.com/libexpat/libexpat/pull/973