Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137072: medium-severity vulnerability (CVSS 5.8) in GNOME libxml2.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.8.
Affected products and versions
GNOME libxml2 >= 2.9.10, <= 2.15.4
| Product | Versions | Fixed in |
|---|---|---|
| GNOME libxml2 | >= 2.9.10, <= 2.15.4 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1208 — CVE Program
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L3885-L3907 — CVE Program
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2201-L2238 — CVE Program
- https://www.vulncheck.com/advisories/gnome-libxml2-2.9.10-through-2.15.4-use-after-free-in-xmlvalidatepopelement — CVE Program
Weaknesses (CWE): CWE-416
Relevant change history
Published
Preliminary advisory published.