# CVE-2026-137074: libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()

- Severity: Medium 5.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-25T19:33:01.463Z
- Modified: 2026-11-25T20:18:43.613Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- GNOME libxml2: from 2.12.6 up to 2.15.4

## Every score

- VulnCheck: CVSS:4.0 5.7 Medium `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`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212> (issue-tracking)
- <https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743> (technical-description)
- <https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856> (technical-description)
- <https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137074](https://www.cve.org/CVERecord?id=CVE-2026-137074), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-137074](https://nvd.nist.gov/vuln/detail/CVE-2026-137074), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-137074 · Whole record: https://cve.day/CVE-2026-137074.json · Rebuilt by cve.day 2026-11-25T23:18:20.496Z
