CVE-2026-137068
MEDIUM
NVD
CVSS Score
4.7
Severity
MEDIUM
Published
Nov 25, 2026
Vendor
unknown
Description
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.
References
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2801-L2840
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L4714-L4830
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1163
- https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/503
- https://www.vulncheck.com/advisories/libxml2-through-2.15.4-use-after-free-in-xmlfreenode-via-reader-faketext