We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-8176

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



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.

Reserved 2024-08-26 | Published 2025-03-14 | Updated 2025-03-15 | Assigner redhat


HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

Uncontrolled Recursion

Product status

Default status
unknown

Default status
unknown

Default status
unknown

Default status
unknown

Default status
unknown

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Timeline

2024-06-12:Reported to Red Hat.
2025-03-13:Made public.

Credits

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

References

access.redhat.com/security/cve/CVE-2024-8176 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2310137 (RHBZ#2310137) issue-tracking

github.com/libexpat/libexpat/issues/893

cve.org (CVE-2024-8176)

nvd.nist.gov (CVE-2024-8176)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-8176

Support options

Helpdesk Chat, Email, Knowledgebase