Buffer overflow in Xmlsoft Libxml2

CVE-2025-24928

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-9…

Vulnerability class: Buffer Overflow

EPSS: 0.002 (46.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-24928?
CVE-2025-24928 is a high-severity vulnerability in Xmlsoft Libxml2, classified under Stack-based Buffer Overflow. CVSS score: 7.8/10. Published 2025-02-18.
How severe is CVE-2025-24928?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2025-24928 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.