CVE-2024-8176

HIGH CVSS 3.1: 7.5 EPSS 1.35%
Updated Nov 24, 2026
Red Hat
Parameter Value
CVSS 7.5 (HIGH)
Type CWE-674
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products

red hat:red hat enterprise linux 9.4 extended update support red hat:red hat openshift container platform 4 red hat:red hat enterprise linux 8.8 update services for sap solutions red hat:red hat discovery 1.14 red hat:red hat enterprise linux 8.6 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.2 advanced update support red hat:red hat enterprise linux 8.8 telecommunications update service red hat:red hat enterprise linux 8.6 telecommunications update service red hat:red hat enterprise linux 8 red hat:red hat enterprise linux 8.4 extended update support long-life add-on red hat:red hat enterprise linux 8.4 update services for sap solutions red hat:red hat jboss core services 2.4.62.sp1 red hat:red hat enterprise linux 8.4 advanced mission critical update support red hat:red hat enterprise linux 8.4 telecommunications update service red hat:red hat enterprise linux 10 red hat:red hat enterprise linux 7 red hat:red hat enterprise linux 9 red hat:red hat enterprise linux 6 red hat:devworkspace operator 0.33 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 8.8 extended update support

References 41

https://access.redhat.com/errata/RHSA-2025:13681
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:22033
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:22034
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:22035
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:22607
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:22785
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:22842
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:22871
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:3531
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:3734
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:3913
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:4048
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:4446
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:4447
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:4448
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:4449
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:7444
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:7512
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8385
secalert@redhat.com
https://access.redhat.com/security/cve/CVE-2024-8176
secalert@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2310137
secalert@redhat.com
https://github.com/libexpat/libexpat/issues/893
secalert@redhat.com
http://seclists.org/fulldisclosure/2025/May/10
af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/fulldisclosure/2025/May/11
af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/fulldisclosure/2025/May/12
af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/fulldisclosure/2025/May/6
af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/fulldisclosure/2025/May/7
af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/fulldisclosure/2025/May/8
af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2025/03/15/1
af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2025/09/24/11
af854a3a-2127-422b-91ae-364da2661108
https://blog.hartwork.org/posts/expat-2-7-0-released/
af854a3a-2127-422b-91ae-364da2661108
https://bugzilla.suse.com/show_bug.cgi?id=1239618
af854a3a-2127-422b-91ae-364da2661108
https://github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes#L40-L52
af854a3a-2127-422b-91ae-364da2661108
https://gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c…
af854a3a-2127-422b-91ae-364da2661108
https://security-tracker.debian.org/tracker/CVE-2024-8176
af854a3a-2127-422b-91ae-364da2661108
https://security.netapp.com/advisory/ntap-20250328-0009/
af854a3a-2127-422b-91ae-364da2661108
https://ubuntu.com/security/CVE-2024-8176
af854a3a-2127-422b-91ae-364da2661108
https://www.kb.cert.org/vuls/id/760160
af854a3a-2127-422b-91ae-364da2661108
https://github.com/libexpat/libexpat/pull/973
secalert@redhat.com
https://cert-portal.siemens.com/productcert/html/ssa-355557.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e