GHSA-868x-42j3-ghpwMediumCVSS 4.7
GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in...
🔗 CVE IDs covered (1)
📋 Description
GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves ctxt->input NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt->input->flags without a check, crashing the application and causing denial of service.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-137074
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212
- https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding
- https://github.com/advisories/GHSA-868x-42j3-ghpw