High severity7.5NVD Advisory· Published Mar 14, 2025· Updated Apr 15, 2026
CVE-2024-8176
CVE-2024-8176
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
36(expand)+ 1 more
- (no CPE)
- (no CPE)
- osv-coords34 versionspkg:rpm/almalinux/expatpkg:rpm/almalinux/expat-develpkg:rpm/almalinux/xmlrpc-cpkg:rpm/almalinux/xmlrpc-c-c%2B%2Bpkg:rpm/almalinux/xmlrpc-c-clientpkg:rpm/almalinux/xmlrpc-c-client%2B%2Bpkg:rpm/almalinux/xmlrpc-c-develpkg:rpm/opensuse/expat&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/expat&distro=openSUSE%20Tumbleweedpkg:rpm/suse/expat&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/expat&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/expat&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/expat&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/expat&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/expat&distro=SUSE%20Manager%20Server%204.3
< 2.5.0-3.el9_5.3+ 33 more
- (no CPE)range: < 2.5.0-3.el9_5.3
- (no CPE)range: < 2.5.0-3.el9_5.3
- (no CPE)range: < 1.51.0-11.el8_10
- (no CPE)range: < 1.51.0-11.el8_10
- (no CPE)range: < 1.51.0-11.el8_10
- (no CPE)range: < 1.51.0-11.el8_10
- (no CPE)range: < 1.51.0-11.el8_10
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-1.1
- (no CPE)range: < 2.7.1-150000.3.36.1
- (no CPE)range: < 2.7.1-150000.3.36.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150000.3.36.1
- (no CPE)range: < 2.7.1-150000.3.36.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150700.3.3.1
- (no CPE)range: < 2.7.1-21.43.1
- (no CPE)range: < 2.7.1-150000.3.36.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150000.3.36.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-21.43.1
- (no CPE)range: < 2.7.1-1.1
- (no CPE)range: < 2.7.1-slfo.1.1_1.1
- (no CPE)range: < 2.7.1-150400.3.28.1
- (no CPE)range: < 2.7.1-150400.3.28.1
Patches
Vulnerability mechanics
References
39- seclists.org/fulldisclosure/2025/May/10nvd
- seclists.org/fulldisclosure/2025/May/11nvd
- seclists.org/fulldisclosure/2025/May/12nvd
- seclists.org/fulldisclosure/2025/May/6nvd
- seclists.org/fulldisclosure/2025/May/7nvd
- seclists.org/fulldisclosure/2025/May/8nvd
- www.openwall.com/lists/oss-security/2025/03/15/1nvd
- www.openwall.com/lists/oss-security/2025/09/24/11nvd
- access.redhat.com/errata/RHSA-2025:13681nvd
- access.redhat.com/errata/RHSA-2025:22033nvd
- access.redhat.com/errata/RHSA-2025:22034nvd
- access.redhat.com/errata/RHSA-2025:22035nvd
- access.redhat.com/errata/RHSA-2025:22607nvd
- access.redhat.com/errata/RHSA-2025:22785nvd
- access.redhat.com/errata/RHSA-2025:22842nvd
- access.redhat.com/errata/RHSA-2025:22871nvd
- access.redhat.com/errata/RHSA-2025:3531nvd
- access.redhat.com/errata/RHSA-2025:3734nvd
- access.redhat.com/errata/RHSA-2025:3913nvd
- access.redhat.com/errata/RHSA-2025:4048nvd
- access.redhat.com/errata/RHSA-2025:4446nvd
- access.redhat.com/errata/RHSA-2025:4447nvd
- access.redhat.com/errata/RHSA-2025:4448nvd
- access.redhat.com/errata/RHSA-2025:4449nvd
- access.redhat.com/errata/RHSA-2025:7444nvd
- access.redhat.com/errata/RHSA-2025:7512nvd
- access.redhat.com/errata/RHSA-2025:8385nvd
- access.redhat.com/security/cve/CVE-2024-8176nvd
- blog.hartwork.org/posts/expat-2-7-0-released/nvd
- bugzilla.redhat.com/show_bug.cginvd
- bugzilla.suse.com/show_bug.cginvd
- github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changesnvd
- github.com/libexpat/libexpat/issues/893nvd
- github.com/libexpat/libexpat/pull/973nvd
- gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53nvd
- security-tracker.debian.org/tracker/CVE-2024-8176nvd
- security.netapp.com/advisory/ntap-20250328-0009/nvd
- ubuntu.com/security/CVE-2024-8176nvd
- www.kb.cert.org/vuls/id/760160nvd
News mentions
1- Hitachi Energy ITT600 ExplorerCISA ICS Advisories