Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 before 2.7.0 |
| Red Hat / Red Hat Enterprise Linux 10 | unaffected 0:2.7.1-1.el10_0 before * |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 0:2.2.5-17.el8_10 before * |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 0:1.51.0-11.el8_10 before * |
| Red Hat / Red Hat Enterprise Linux 8.2 Advanced Update Support | unaffected 0:2.2.10-1.el8_2 before * |
| Red Hat / Red Hat Enterprise Linux 8.2 Advanced Update Support | unaffected 0:1.51.0-5.el8_2.2 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | unaffected 0:2.2.10-1.el8_4 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | unaffected 0:1.51.0-5.el8_4.2 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | unaffected 0:2.2.10-1.el8_4 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Telecommunications Update Service | unaffected 0:1.51.0-5.el8_4.2 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | unaffected 0:1.51.0-5.el8_4.2 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 0:2.2.10-1.el8_6 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 0:1.51.0-6.el8_6.1 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Telecommunications Update Service | unaffected 0:2.2.10-1.el8_6 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Telecommunications Update Service | unaffected 0:1.51.0-6.el8_6.1 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | unaffected 0:2.2.10-1.el8_6 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | unaffected 0:1.51.0-6.el8_6.1 before * |
| Red Hat / Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 0:1.51.0-8.el8_8.1 before * |
| Red Hat / Red Hat Enterprise Linux 8.8 Telecommunications Update Service | unaffected 0:2.2.10-1.el8_8 before * |
| Red Hat / Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | unaffected 0:2.2.10-1.el8_8 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:2.5.0-3.el9_5.3 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:2.5.0-5.el9_6 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:2.5.0-3.el9_5.3 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:2.5.0-5.el9_6 before * |
| Red Hat / Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | unaffected 0:2.2.10-12.el9_0.4 before * |
| Red Hat / Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | unaffected 0:2.5.0-1.el9_2.3 before * |
| Red Hat / Red Hat Enterprise Linux 9.4 Extended Update Support | unaffected 0:2.5.0-2.el9_4.3 before * |
| Red Hat / Red Hat JBoss Core Services 2.4.62.SP1 | unaffected |
| Red Hat / DevWorkspace Operator 0.33 | unaffected 0.33-1744075017 before * |
| Red Hat / Red Hat Discovery 1.14 | unaffected 1.14.3-1748529279 before * |
| Red Hat / Red Hat Discovery 1.14 | unaffected 1.14.2-1748467619 before * |
| Red Hat / Red Hat Enterprise Linux 6 | unknown |
| Red Hat / Red Hat Enterprise Linux 6 | unknown |
| Red Hat / Red Hat Enterprise Linux 7 | unknown |
| Red Hat / Red Hat Enterprise Linux 7 | unknown |
| Red Hat / Red Hat Enterprise Linux 7 | unknown |
| Red Hat / Red Hat Enterprise Linux 8 | affected |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 | affected |
| Red Hat / Red Hat Enterprise Linux 8 | affected |
| Red Hat / Red Hat Enterprise Linux 9 | affected |
| Red Hat / Red Hat Enterprise Linux 9 | affected |
| Red Hat / Red Hat Enterprise Linux 9 | affected |
| Red Hat / Red Hat Enterprise Linux 9 | affected |
| Red Hat / Red Hat OpenShift Container Platform 4 | affected |
| Red Hat / Red Hat OpenShift Container Platform 4 | affected |
CWE
CWE-674
References
- https://access.redhat.com/errata/RHSA-2025:13681
- https://access.redhat.com/errata/RHSA-2025:22033
- https://access.redhat.com/errata/RHSA-2025:22034
- https://access.redhat.com/errata/RHSA-2025:22035
- https://access.redhat.com/errata/RHSA-2025:22607
- https://access.redhat.com/errata/RHSA-2025:22785
- https://access.redhat.com/errata/RHSA-2025:22842
- https://access.redhat.com/errata/RHSA-2025:22871
- https://access.redhat.com/errata/RHSA-2025:3531
- https://access.redhat.com/errata/RHSA-2025:3734
- https://access.redhat.com/errata/RHSA-2025:3913
- https://access.redhat.com/errata/RHSA-2025:4048
- https://access.redhat.com/errata/RHSA-2025:4446
- https://access.redhat.com/errata/RHSA-2025:4447
- https://access.redhat.com/errata/RHSA-2025:4448
- https://access.redhat.com/errata/RHSA-2025:4449
- https://access.redhat.com/errata/RHSA-2025:7444
- https://access.redhat.com/errata/RHSA-2025:7512
- https://access.redhat.com/errata/RHSA-2025:8385
- https://access.redhat.com/security/cve/CVE-2024-8176
- https://bugzilla.redhat.com/show_bug.cgi?id=2310137
- https://github.com/libexpat/libexpat/issues/893
- https://github.com/libexpat/libexpat/pull/973
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
- http://www.openwall.com/lists/oss-security/2025/03/15/1
- https://blog.hartwork.org/posts/expat-2-7-0-released/
- https://github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes#L40-L52
- https://bugzilla.suse.com/show_bug.cgi?id=1239618
- https://ubuntu.com/security/CVE-2024-8176
- https://security-tracker.debian.org/tracker/CVE-2024-8176
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53
- https://security.netapp.com/advisory/ntap-20250328-0009/
- https://www.kb.cert.org/vuls/id/760160
- http://seclists.org/fulldisclosure/2025/May/12
- http://seclists.org/fulldisclosure/2025/May/11
- http://seclists.org/fulldisclosure/2025/May/10
- http://seclists.org/fulldisclosure/2025/May/8
- http://seclists.org/fulldisclosure/2025/May/7
- http://seclists.org/fulldisclosure/2025/May/6
- http://www.openwall.com/lists/oss-security/2025/09/24/11
No English description supplied.