CVE-2024-8176 Details
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.
A stack overflow vulnerability has been identified in the libexpat library, versions prior to 2.7.0. This vulnerability arises from improper handling of recursive entity expansion in XML documents. When libexpat parses an XML file with deeply nested entity references, it can be forced to recurse indefinitely. This uncontrolled recursion exhausts stack space, leading to a crash. The vulnerability can cause a denial-of-service (DoS) condition and, in some cases, memory corruption, depending on the environment and how the library is used.
Users should update to libexpat version 2.7.0 or later, where this vulnerability has been fixed. Red Hat users can apply the update through the Red Hat Product Errata RHSA-2025:13681. For Debian users, the update is available in the 'expat' package version 2.7.1-2.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 14, 2025CISA-ADP
Assessed Mar 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libexpat | < 2.7.0 (semver) |
CPE
Remediation
| |
| Red Hat Enterprise Linux | All versions |
CPE
Remediation
| |
| Red Hat JBoss Core Services | All versions |
CPE
Remediation
| |
| Alpine Linux | All versions |
CPE
Remediation
| |
| SUSE | All versions |
CPE
Remediation
| |
| NetApp | All versions |
CPE
Remediation
| |
| Ubuntu | All versions |
CPE
Remediation
| |
Change History
33 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Oct 21, 2026 | CVE Modified | [email protected] |
| Oct 21, 2026 | CVE Modified | [email protected] |
| Oct 15, 2026 | CVE Modified | [email protected] |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Sep 21, 2026 | CVE Modified | [email protected] |
| Sep 21, 2026 | CVE Modified | CVE |
| Jun 30, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 20, 2026 | CVE Modified | [email protected] |
| Dec 9, 2025 | CVE Modified | [email protected] |
| Dec 5, 2025 | CVE Modified | [email protected] |
| Dec 2, 2025 | CVE Modified | [email protected] |
| Nov 25, 2025 | CVE Modified | [email protected] |
| Nov 25, 2025 | CVE Modified | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 14, 2025 | CVE Modified | [email protected] |
| Jun 2, 2025 | CVE Modified | [email protected] |
| May 13, 2025 | CVE Modified | [email protected] |
| May 9, 2025 | CVE Modified | CVE |
| May 5, 2025 | CVE Modified | [email protected] |
| May 5, 2025 | CVE Modified | [email protected] |
| Apr 23, 2025 | CVE Modified | [email protected] |
| Apr 15, 2025 | CVE Modified | [email protected] |
| Apr 9, 2025 | CVE Modified | [email protected] |
| Apr 2, 2025 | CVE Modified | [email protected] |
| Mar 28, 2025 | CVE Modified | CVE |
| Mar 17, 2025 | CVE Modified | CVE |
| Mar 15, 2025 | CVE Modified | CVE |
| Mar 14, 2025 | New CVE Received | [email protected] |
Volerion