CVE-2024-8176

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

State
Published
Severity
7.5 High
Published
Mar 14, 2025
Updated
Oct 21, 2026
Reserved
Aug 26, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

Affected Products

ProductVersions
libexpat
  • before 2.7.0Affected
Red Hat Enterprise Linux 10Red Hat
  • 0:2.7.1-1.el10_0 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:2.2.5-17.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.51.0-11.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat
  • 0:2.2.10-1.el8_2 and laterNot affected
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat
  • 0:1.51.0-5.el8_2.2 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:2.2.10-1.el8_4 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:1.51.0-5.el8_4.2 and laterNot affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat
  • 0:2.2.10-1.el8_4 and laterNot affected
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat
  • 0:1.51.0-5.el8_4.2 and laterNot affected
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat
  • 0:1.51.0-5.el8_4.2 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:2.2.10-1.el8_6 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:1.51.0-6.el8_6.1 and laterNot affected
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat
  • 0:2.2.10-1.el8_6 and laterNot affected
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat
  • 0:1.51.0-6.el8_6.1 and laterNot affected
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat
  • 0:2.2.10-1.el8_6 and laterNot affected
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat
  • 0:1.51.0-6.el8_6.1 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 0:1.51.0-8.el8_8.1 and laterNot affected
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat
  • 0:2.2.10-1.el8_8 and laterNot affected
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat
  • 0:2.2.10-1.el8_8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.5.0-3.el9_5.3 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.5.0-5.el9_6 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.5.0-3.el9_5.3 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.5.0-5.el9_6 and laterNot affected
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat
  • 0:2.2.10-12.el9_0.4 and laterNot affected
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat
  • 0:2.5.0-1.el9_2.3 and laterNot affected
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat
  • 0:2.5.0-2.el9_4.3 and laterNot affected
Red Hat JBoss Core Services 2.4.62.SP1Red Hat
    DevWorkspace Operator 0.33Red Hat
    • 0.33-1744075017 and laterNot affected
    Red Hat Discovery 1.14Red Hat
    • 1.14.3-1748529279 and laterNot affected
    Red Hat Discovery 1.14Red Hat
    • 1.14.2-1748467619 and laterNot affected
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 6Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 7Red Hat
            Red Hat Enterprise Linux 7Red Hat
              Red Hat Enterprise Linux 8Red Hat
                Red Hat Enterprise Linux 8Red Hat
                  Red Hat Enterprise Linux 8Red Hat
                    Red Hat Enterprise Linux 8Red Hat
                      Red Hat Enterprise Linux 9Red Hat
                        Red Hat Enterprise Linux 9Red Hat
                          Red Hat Enterprise Linux 9Red Hat
                            Red Hat Enterprise Linux 9Red Hat
                              Red Hat OpenShift Container Platform 4Red Hat
                                Red Hat OpenShift Container Platform 4Red Hat

                                  References

                                  Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.