All vulnerabilities

Servers and applications

CVE-2026-137074

libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()

Severity
Medium 5.7
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Weakness
Null pointer dereference (CWE-476)
Attack
Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
libxml2Servers and applications · cna:gnome|libxml2
  • From 2.12.6 up to 2.15.4

About libxml2

free software library

From Wikidata, CC0 1.0.
Developer
Veillard DanielWikidata
License
MIT LicenseWikidata
Written in
CWikidata

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137074