CVE-2024-8176

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.
Configurations

No configuration.

History

23 Apr 2025, 12:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:4048 -

15 Apr 2025, 17:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:3913 -

09 Apr 2025, 08:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:3734 -

02 Apr 2025, 15:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:3531 -

28 Mar 2025, 15:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20250328-0009/ -

17 Mar 2025, 17:15

Type Values Removed Values Added
References
  • () https://blog.hartwork.org/posts/expat-2-7-0-released/ -
  • () https://bugzilla.suse.com/show_bug.cgi?id=1239618 -
  • () https://github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes#L40-L52 -
  • () https://gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53 -
  • () https://security-tracker.debian.org/tracker/CVE-2024-8176 -
  • () https://ubuntu.com/security/CVE-2024-8176 -

15 Mar 2025, 19:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2025/03/15/1 -
Summary
  • (es) Existe una vulnerabilidad de desbordamiento de pila en la librería libexpat debido a la forma en que gestiona la expansión recursiva de entidades en documentos XML. Al analizar un documento XML con referencias a entidades profundamente anidadas, libexpat puede verse forzado a recurrir indefinidamente, agotando el espacio de pila y provocando un bloqueo. Este problema podría provocar una denegación de servicio (DoS) o, en algunos casos, una corrupción de memoria explotable, según el entorno y el uso de la librería.

14 Mar 2025, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-14 09:15

Updated : 2025-04-23 12:15


NVD link : CVE-2024-8176

Mitre link : CVE-2024-8176

CVE.ORG link : CVE-2024-8176


JSON object : View

Products Affected

No product.

CWE
CWE-674

Uncontrolled Recursion