CVE-2026-137075

GNOME libxml2 2.14.0 through 2.15.4 Missing NUL Termination in xmlBufferAddHead()

Low published · updated

2.0
CVSS score out of 10 · NVD (vulncheck.com)

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 / packageEcosystem / vendorVersionsFixed inSource
libxml2 gnome ≤2.15.4— CVE.org

References