GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding()
Source GCVE Database
Not known to be exploited · CVSS 5.7 Medium.
Data as of 25 Nov 2026, 22:06 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.7 |
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GNOMElibxml2 | Affected
| Fixed in– |
GitHublibxml2pkg:github/libxml2Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid calling xmlTextReaderConstEncoding() after resetting a reader with xmlReaderNewWalker() or implement application-level checks to prevent dereferencing NULL pointers in this context.
Description
A NULL pointer dereference vulnerability exists in GNOME libxml2 versions 2.12.6 through 2.15.4 in the function xmlTextReaderConstEncoding(). This occurs after a reader is reset with xmlReaderNewWalker(), where the internal context input pointer is left NULL. Querying the document encoding then causes a crash, resulting in denial of service.
References
- nvd.nist.gov/vuln/detail/CVE-2026-137074 (opens in a new tab)
- gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c (opens in a new tab)
- gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c (opens in a new tab)
- gitlab.gnome.org/GNOME/libxml2/-/issues/1212 (opens in a new tab)
- vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding (opens in a new tab)