CVE-2026-137074

medium

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

https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding

https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212

https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856

https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-135772

Details

Source: Mitre, NVD

Published: 2026-11-25

Updated: 2026-11-25

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 4.7

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium

CVSS v4

Base 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

Severity: Medium

EPSS

EPSS: 0.00274