{"id":"CVE-2026-137074","summary":"libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()","details":"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-\u003einput NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt-\u003einput-\u003eflags without a check, crashing the application and causing denial of service.","modified":"2026-11-25T21:02:29.250954385Z","published":"2026-11-25T19:33:01.463Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137074.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137074.json"},{"type":"PACKAGE","url":"https://gitlab.gnome.org/GNOME/libxml2"},{"type":"ARTICLE","url":"https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743"},{"type":"ARTICLE","url":"https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137074"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/libxml2","events":[{"introduced":"505e2e872e767405be565aa9d47ae9d6d5677f79"},{"last_affected":"96498992efa48d52b0e8b83058bd88dbdaf153c1"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.12.6"},{"last_affected":"2.15.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137074.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}