{"id":"CVE-2026-137074","state":"PUBLISHED","title":"libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()","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.","publishedAt":"2026-11-25T19:33:01.463Z","updatedAt":"2026-11-25T19:56:51.038Z","severity":{"score":5.7,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["GNOME libxml2"],"affected":[{"vendor":"GNOME","product":"libxml2","packageURL":"pkg:github/gnome/libxml2","defaultStatus":"unaffected","versions":[{"version":"2.12.6","status":"affected","lessThanOrEqual":"2.15.4","versionType":"semver"}],"repo":"https://gitlab.gnome.org/GNOME/libxml2"}],"references":["https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212","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://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding"],"weaknesses":["CWE-476"],"ingestedAt":"2026-11-25T20:00:06.381Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/137xxx/CVE-2026-137074.json","commit":"5e1f64d3169266280a9bad30233097a7073026ad","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137074","state":"PUBLISHED","datePublished":"2026-11-25T19:33:01.463Z","dateUpdated":"2026-11-25T19:56:51.038Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-25T17:56:25.213Z"},"containers":{"cna":{"title":"libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"GNOME","product":"libxml2","packageURL":"pkg:github/gnome/libxml2","defaultStatus":"unaffected","versions":[{"version":"2.12.6","status":"affected","lessThanOrEqual":"2.15.4","versionType":"semver"}],"repo":"https://gitlab.gnome.org/GNOME/libxml2"}],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212","tags":["issue-tracking"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743","tags":["technical-description"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding","name":"VulnCheck Advisory: libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":4.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-25T19:33:01.463Z"},"datePublic":"2026-11-20T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*","versionStartIncluding":"2.12.6","versionEndIncluding":"2.15.4"}]}]}],"credits":[{"lang":"en","value":"Pu Cheng","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-25T19:45:53.384024Z","id":"CVE-2026-137074","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-25T19:56:51.038Z"}}]}}}