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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
GNOME libxml2
Default version status: unaffected
0 to ≤ 2.15.4affected
References
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1163 ↗
- https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/503 ↗
- 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://www.vulncheck.com/advisories/libxml2-through-2.15.4-use-after-free-in-xmlfreenode-via-reader-faketext ↗