All reports
High

libxml2: Stack-based buffer overflow in xmlSnprintfElements of libxml2

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-24928

Probability of exploitation in the next 30 days: 0.39%

FIRST EPSS · 2026-11-21

Description

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.

A flaw was found in libxml2. This vulnerability allows a stack-based buffer overflow via DTD validation of an untrusted document or untrusted DTD.