GNOME libxml2 2.14.0 through 2.15.4 Missing NUL Termination in xmlBufferAddHead()
- State
- Published
- Severity
- 2.0 Low
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 25, 2026
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.
| Product | Versions |
|---|---|
| libxml2 GNOME | 2.14.0 through 2.15.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.0 Low | VulnCheck | |
| 3.1 | 3.6 Low | VulnCheck |
Weaknesses
- CWE-170 Improper Null Termination
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.