libxml2 2.13.0 through 2.15.4 Denial of Service via xmlTextReaderSetup Unreset Error State
- State
- Published
- Severity
- 5.7 Medium
- Published
- Nov 25, 2026
- Updated
- Dec 1, 2026
- Reserved
- Nov 25, 2026
Description
libxml2 2.13.0 through 2.15.4 contains a denial of service vulnerability because xmlTextReaderSetup does not reset reader->state when a reader is reused. Attackers can submit one malformed XML document to an application reusing a single reader, causing every later document to be rejected until the reader is recreated.
| Product | Versions |
|---|---|
| libxml2 GNOME | 2.13.0 through 2.15.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | VulnCheck | |
| 3.1 | 4.7 Medium | VulnCheck |
Weaknesses
- CWE-909 Missing Initialization of Resource
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1163Issue Tracker
- https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/503Patch
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L1200-L1210Technical Details
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L4714-L4830Technical Details
- VulnCheck Advisory: libxml2 2.13.0 through 2.15.4 Denial of Service via xmlTextReaderSetup Unreset Error StateThird-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.