GHSA-jh66-gq9h-mr4wMediumCVSS 4.7
libxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to...
🔗 CVE IDs covered (1)
📋 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 (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-137068
- 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
- https://github.com/advisories/GHSA-jh66-gq9h-mr4w