CVE Catalog

CVE-2025-24928

Medium
Published: —Translated: NVD NIST

Summary

In libxml2 before 2.12.10 and 2.13.6, a stack-based buffer overflow exists in xmlSnprintfElements in valid.c. Exploitation requires DTD validation of an untrusted document or untrusted DTD. Similar to CVE-2017-9047.

Risk Assessment

An attacker could crash the application or potentially execute arbitrary code by providing a crafted XML document with DTD.

Recommendation

Update libxml2 to version 2.12.10, 2.13.6, or later.

Other vulnerabilities in libxml2

See all
Original NVD description (English source)

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS