Read the docs

libxml2 NULL Pointer Dereference via xmlTextReaderConstEncoding()

Priority LOW 25CWE-476Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-476.

Summary

GNOME libxml2 from 2.12.6 through 2.15.4 contains a NULL pointer dereference in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). The reset leaves an input pointer NULL, and querying the document encoding reads a field through it, crashing the application. A local attacker with no privileges can cause a denial of service. The CVSS 4.0 vector (5.7, MEDIUM) requires high attack complexity and passive user interaction, and the flaw is tracked as CWE-476.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0027 12th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GNOMElibxml22.12.6 – 2.15.4—No fix listedCNA
  • libxml2 VendorGNOME Affected 2.12.6 – 2.15.4 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for libxml2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-137074
  2. 2026-11-25 Alias added: GHSA-868x-42j3-ghpw

References

  • TI-2023-23091 Gnome-maps: gnome maps is vulnerable to a code injection attack (similar to xss) via its service.json CVSS 3.1CRITICAL 9.8
  • TI-2026-41775 Glib: off-by-one error in glib/gkeyfile.c via "g_key_file_get_locale_string_list" CVSS 3.1HIGH 8.6
  • TI-2026-41772 Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime CVSS 3.1HIGH 7.5
  • TI-2026-03716 Libsoup: libsoup: denial of service via use-after-free in http/2 server CVSS 3.1HIGH 7.5
  • TI-2024-28393 Integer overflow in GNOME G Structured File Library CVSS 3.1HIGH 8.4
  • TI-2024-24253 Integer overflow in GNOME G Structured File Library CVSS 3.1HIGH 8.4
See all 417 →

Sources