A stack overflow vulnerability exists in the libexpat...
High severity
Unreviewed
Published
Mar 14, 2025
to the GitHub Advisory Database
•
Updated Jun 2, 2025
Description
Published by the National Vulnerability Database
Mar 14, 2025
Published to the GitHub Advisory Database
Mar 14, 2025
Last updated
Jun 2, 2025
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