CVE-2024-8176

published 14 Mar 2025 · updated 16 Nov 2026

Libexpat: expat: improper restriction of xml entity expansion depth in libexpat

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.7.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatDevWorkspace Operator
Red HatDiscovery
Red HatEnterprise Linux
Red HatJBoss
Red HatOpenShift Container Platform
<2.7.02.7.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in JBoss, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8176 severity on Zeptric[![CVE-2024-8176](https://zeptric.io/badge/cve/CVE-2024-8176.svg)](https://zeptric.io/cve/CVE-2024-8176)