Stack Overflow Vulnerability in Expat Library Affecting XML Parsing
CVE-2024-8176

7.5HIGH

Key Information:

Summary

A stack overflow vulnerability has been identified in the libexpat library, primarily concerning its recursive entity expansion handling in XML documents. When processing XML files with a high degree of nested entity references, libexpat is susceptible to infinite recursion, ultimately leading to stack exhaustion. This behavior could result in denial of service conditions or potential memory corruption, which may vary based on the environment and implementation of the library. Users are urged to review their configurations and apply necessary patches to mitigate these risks.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

This issue was discovered by Jann Horn (Google Project Zero), Sandipan Roy (Red Hat), Sebastian Pipping (libexpat), and Tomas Korbar (Red Hat).
.