libnxml before 0.18.6 Stack-based Buffer Overflow via long multi-byte XML name
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 5, 2026
- Updated
- Nov 5, 2026
- Reserved
- Nov 5, 2026
Description
libnxml before 0.18.6 contains a stack-based buffer overflow vulnerability in src/nxml_parser.c that allows remote attackers to write past a 1024-byte stack buffer via long XML names. Attackers can supply XML or RSS feeds with a 1022-character element, attribute, DOCTYPE or entity name ending in a multi-byte UTF-8 character to crash parsing applications.
| Product | Versions |
|---|---|
| libnxml bakulf | before 0.18.6 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- https://github.com/bakulf/libnxml/commit/fbac242374883edf2ec14127ca6d2accf4704b6aPatch
- libnxml 0.18.6 Release NotesRelease Notes
- https://github.com/bakulf/libnxml/blob/9272d1cd6fee88fe7fd4fd812736d95a6ba25f2f/src/nxml_parser.c#L952-L958Technical Details
- VulnCheck Advisory: libnxml before 0.18.6 Stack-based Buffer Overflow via long multi-byte XML nameThird-Party Advisory
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.