Uncontrolled Recursion Affecting expat-debugsource package, versions <0:2.7.1-1.el10_0


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
1.35% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY10-EXPATDEBUGSOURCE-13299508
  • published5 Oct 2025
  • disclosed14 Mar 2025

Introduced: 14 Mar 2025

CVE-2024-8176  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 expat-debugsource to version 0:2.7.1-1.el10_0 or higher.
This issue was patched in RLSA-2025:7512.

NVD Description

Note: Versions mentioned in the description apply only to the upstream expat-debugsource package and not the expat-debugsource package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1