CVE-2024-8176CWE-674

CVE-2024-8176

High · published March 14, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
71.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01353 · 71.3th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2025-03-14T13:15Z
References (41)
https://access.redhat.com/errata/RHSA-2025:13681 · [email protected]https://access.redhat.com/errata/RHSA-2025:22033 · [email protected]https://access.redhat.com/errata/RHSA-2025:22034 · [email protected]https://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://blog.hartwork.org/posts/expat-2-7-0-released/ · af854a3a-2127-422b-91ae-364da2661108https://bugzilla.suse.com/show_bug.cgi?id=1239618 · af854a3a-2127-422b-91ae-364da2661108https://github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes#L40-L52 · af854a3a-2127-422b-91ae-364da2661108https://gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53 · af854a3a-2127-422b-91ae-364da2661108https://security-tracker.debian.org/tracker/CVE-2024-8176 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20250328-0009/ · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/CVE-2024-8176 · af854a3a-2127-422b-91ae-364da2661108https://www.kb.cert.org/vuls/id/760160 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-355557.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://access.redhat.com/errata/RHSA-2025:22035 · [email protected]https://access.redhat.com/errata/RHSA-2025:22607 · [email protected]https://access.redhat.com/errata/RHSA-2025:22785 · [email protected]https://access.redhat.com/errata/RHSA-2025:22842 · [email protected]https://access.redhat.com/errata/RHSA-2025:22871 · [email protected]https://access.redhat.com/errata/RHSA-2025:3531 · [email protected]https://access.redhat.com/errata/RHSA-2025:3734 · [email protected]https://access.redhat.com/errata/RHSA-2025:3913 · [email protected]https://access.redhat.com/errata/RHSA-2025:4048 · [email protected]https://access.redhat.com/errata/RHSA-2025:4446 · [email protected]https://access.redhat.com/errata/RHSA-2025:4447 · [email protected]https://access.redhat.com/errata/RHSA-2025:4448 · [email protected]https://access.redhat.com/errata/RHSA-2025:4449 · [email protected]https://access.redhat.com/errata/RHSA-2025:7444 · [email protected]https://access.redhat.com/errata/RHSA-2025:7512 · [email protected]https://access.redhat.com/errata/RHSA-2025:8385 · [email protected]https://access.redhat.com/security/cve/CVE-2024-8176 · [email protected]https://bugzilla.redhat.com/show_bug.cgi?id=2310137 · [email protected]https://github.com/libexpat/libexpat/issues/893 · [email protected]https://github.com/libexpat/libexpat/pull/973 · [email protected]http://seclists.org/fulldisclosure/2025/May/10 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2025/May/11 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2025/May/12 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2025/May/6 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2025/May/7 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2025/May/8 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/03/15/1 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/09/24/11 · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 14 MAR 08:19Z
    Libexpat: expat: improper restriction of xml entity expansion depth in libexpat
    cvelistv5