CVE-2026-137074

NameCVE-2026-137074
DescriptionGNOME 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)bookworm2.9.14+dfsg-1.3~deb12u6vulnerable
bookworm (security)2.9.14+dfsg-1.3~deb12u4vulnerable
trixie2.12.7+dfsg+really2.9.14-2.1+deb13u3vulnerable
trixie (security)2.12.7+dfsg+really2.9.14-2.1+deb13u1vulnerable
forky, sid2.15.4+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2source(unstable)(unfixed)

Notes

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

Search for package or bug name: Reporting problems