CVE-2024-8176

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLibexpat
PublishedMar 14, 2025
First seenMar 14, 2025
Weakness typeCWE-674CWE-674

How to fix

Affected products

ProductAffected versionsFixed in
libexpatv < 2.7.02.7.0
Red Hat Red Hat Enterprise Linux 10No range specified—
enterprise_linux 8No range specified—
rhel_aus 8.2No range specified—
rhel_aus 8.4No range specified—
rhel_aus 8.6No range specified—
rhel_eus 8.8No range specified—
rhel_e4s 8.8No range specified—
enterprise_linux 9No range specified—
rhel_e4s 9.0No range specified—
rhel_e4s 9.2No range specified—
rhel_eus 9.4No range specified—
devworkspace 0.33No range specified—
discovery 1.14No range specified—
Red Hat Red Hat Enterprise Linux 8No range specified—
Red Hat Red Hat Enterprise Linux 9No range specified—
Red Hat Red Hat OpenShift Container Platform 4No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.