7.5
HIGH
CVE-2024-8176
Libexpat XML Entity Expansion Stack Overflow Vulnerability
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.

INFO

Published Date :

March 14, 2025, 9:15 a.m.

Last Modified :

April 2, 2025, 3:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2024-8176 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Libexpat_project libexpat

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-8176 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-8176 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Apr. 02, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:3531
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 28, 2025

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20250328-0009/
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 17, 2025

    Action Type Old Value New Value
    Added Reference https://blog.hartwork.org/posts/expat-2-7-0-released/
    Added Reference https://bugzilla.suse.com/show_bug.cgi?id=1239618
    Added Reference https://github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes#L40-L52
    Added Reference https://gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53
    Added Reference https://security-tracker.debian.org/tracker/CVE-2024-8176
    Added Reference https://ubuntu.com/security/CVE-2024-8176
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 15, 2025

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2025/03/15/1
  • New CVE Received by [email protected]

    Mar. 14, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-674
    Added Reference https://access.redhat.com/security/cve/CVE-2024-8176
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2310137
    Added Reference https://github.com/libexpat/libexpat/issues/893
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-8176 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-8176 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability