Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.7CVE-2026-137074

CVE-2026-137074: libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()

GNOME libxml2

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137074: medium-severity vulnerability (CVSS 5.7) in GNOME libxml2.

What happened

Original description from the source: 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

Medium severity, CVSS 5.7.

Affected products and versions

GNOME libxml2 >= 2.12.6, <= 2.15.4

ProductVersionsFixed in
GNOME libxml2>= 2.12.6, <= 2.15.4—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-476

Relevant change history

  1. Published

    Preliminary advisory published.