CVE-2026-137075
GNOME libxml2 2.14.0 through 2.15.4 Missing NUL Termination in xmlBufferAddHead()
2.0
Description
GNOME libxml2 2.14.0 through 2.15.4 contains a missing NUL termination flaw in xmlBufferAddHead() in buf.c that leaves uninitialized heap bytes as the terminator for storage-less buffers. Attackers supplying data to applications reusing an xmlBuffer can trigger over-reads via xmlBufferCat() and xmlStrlen(), disclosing adjacent heap memory or causing crashes.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| libxml2 | gnome | ≤2.15.4 | — | CVE.org |