Skip to main content

Stack-based Buffer Overflow

CVE-2025-24928

Severity High
Score 7.7/10

Summary

In libxml2 versions prior to 2.12.10 and 2.13.x prior to 2.13.6 has a stack-based buffer overflow in `xmlSnprintfElements` function 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.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-121 - Stack-based Buffer Overflow

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Advisory Timeline

  • Published