GNOME libxml2 2.9.10 through 2.15.4 Use-After-Free in xmlValidatePopElement
- State
- Published
- Severity
- 5.8 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 25, 2026
Description
GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability that allows attackers to trigger stale DTD validation states after xmlTextReaderCurrentDoc documents are freed. Attackers can supply an XML document ending with an error inside an element, causing xmlTextReaderClose to read freed element declarations, leading to crashes and possible invalid frees.
| Product | Versions |
|---|---|
| libxml2 GNOME | 2.9.10 through 2.15.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.8 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-416 Use After Free
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1208Issue Tracker
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L3885-L3907Technical Details
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2201-L2238Technical Details
- VulnCheck Advisory: GNOME libxml2 2.9.10 through 2.15.4 Use-After-Free in xmlValidatePopElementThird-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.