{"schemaVersion":4,"id":"CVE-2026-137074","aliases":["DEBIAN-CVE-2026-137074","UBUNTU-CVE-2026-137074"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2026-11-25T19:33:01.463Z","modified":"2026-11-25T19:56:51.038Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.7,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.7,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.7,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":2.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.7,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":2.6,"impact":6,"computed":true}]},"epss":{"probability":0.0027,"percentile":0.20504,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-26T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0027,"percentile":0.20504}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0027,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0027,"percentile":0.20504}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"debian","product":"libxml2","name":"libxml2","label":"libxml2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libxml2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libxml2","name":"libxml2","label":"libxml2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libxml2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gnome","product":"libxml2","name":"libxml2","label":"libxml2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.12.6, ≤ 2.15.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.12.6","startInclusive":true,"end":"2.15.4","endInclusive":true}}],"versionsText":"≥ 2.12.6, ≤ 2.15.4","eol":null,"hubHref":"/vendor/gnome/libxml2"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212","label":"gitlab.gnome.org/GNOME/libxml2/-/issues/1212","hostname":"gitlab.gnome.org","tags":["Issue Tracking"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743","label":"gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c","hostname":"gitlab.gnome.org","tags":["Technical Description"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856","label":"gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c","hostname":"gitlab.gnome.org","tags":["Technical Description"]},{"url":"https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-137074","label":"security-tracker.debian.org/tracker/CVE-2026-137074","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-137074","label":"ubuntu.com/security/CVE-2026-137074","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-137074","label":"www.cve.org/CVERecord?id=CVE-2026-137074","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/work_items/1212","label":"gitlab.gnome.org/GNOME/libxml2/-/work_items/1212","hostname":"gitlab.gnome.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T19:33:01.463Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T19:56:51.038Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,57],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0027,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:56:51.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.7,"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:56:51.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:56:51.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:56:51.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-25T19:56:51.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-25T19:56:51.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.7,"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-25T19:56:51.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T19:45:53.384Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0027,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T02:02:32.515Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T02:02:33.061Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T02:02:33.247Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T02:00:57.638Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T02:02:28.824Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T02:02:28.182Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T02:49:49.755Z","stale":false,"partial":false}}