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-137068: medium-severity vulnerability (CVSS 5.7) in GNOME libxml2.
What happened
Original description from the source: libxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to crash applications by triggering xmlFreeNode on a stale reader->faketext node after xmlTextReader reuse. Attackers can supply XML containing a namespace declaration to applications that read its value and reuse the reader, causing a freed document's dictionary read and process crash.
Why it matters
Medium severity, CVSS 5.7.
Affected products and versions
GNOME libxml2 <= 2.15.4
| Product | Versions | Fixed in |
|---|---|---|
| GNOME libxml2 | <= 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/1163 — CVE Program
- https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/503 — CVE Program
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2801-L2840 — CVE Program
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L4714-L4830 — CVE Program
- https://www.vulncheck.com/advisories/libxml2-through-2.15.4-use-after-free-in-xmlfreenode-via-reader-faketext — CVE Program
Weaknesses (CWE): CWE-416
Relevant change history
Published
Preliminary advisory published.