Skip to main content

GNOME libxml2 CVE-2026-137072

| EUVDEUVD-2026-135774 MEDIUM
Use After Free (CWE-416)
2026-11-25 VulnCheck GHSA-fv4g-26c9-2pwr
5.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed XML ending with error in element
  2. Delivery
    Deliver file to libxml2 xmlTextReader consumer
  3. Exploit
    Trigger stale DTD state after document freed
  4. Execution
    xmlTextReaderClose reads freed element declarations
  5. Impact
    Crash or invalid free (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an application that uses libxml2's xmlTextReader (streaming reader) API with DTD validation and then calls xmlTextReaderClose, and the attacker must supply an XML document that ends with an error inside an element so that stale DTD validation state references already-freed element declarations. Limiting factors: the attack vector is local (AV:L) with required victim interaction (UI:P - the application must parse the attacker's document), high attack complexity (AC:H) and an additional attack requirement (AT:P) indicating the triggering conditions are not fully under attacker control; applications that do not enable DTD validation or do not use the reader close path are not exposed. Primary realistic impact is denial of service (crash/invalid free); confidentiality exposure is limited to potential reads of freed memory (VC:L).

Impact

This is a moderate-severity memory-safety issue (CVSS 4.0 base 5.8) whose signals consistently point to a limited, availability-focused impact rather than a top-tier priority. The CVSS 4.0 vector is local (AV:L), high-complexity (AC:H) with an attack requirement (AT:P) and passive user interaction (UI:P), meaning the attacker does not supply privileges (PR:N) but relies on a victim application processing a malicious document under conditions that are not fully attacker-controlled. Impact is dominated by availability (VA:H - crash/invalid free) with only low confidentiality exposure (VC:L, likely a read of freed memory) and no integrity impact (VI:N); use-after-free can in principle escalate to code execution, but the supplied evidence only claims crashes and 'possible invalid frees,' so RCE is unconfirmed. The vuln.today decision label is 'this_month' (not act_now/emergency), and there is no CISA KEV listing and no EPSS score in the input, so there is no signal of active or widespread exploitation - the combination of local vector, high complexity, and attacker-uncontrolled trigger conditions suggests real-world risk is low despite libxml2's ubiquity. Note the tension between libxml2's enormous deployment footprint and the narrow, hard-to-trigger exploitation path: the exposure is wide but the realistic weaponizability is constrained, so prioritize patching where untrusted XML with DTD validation is processed, not as an across-the-board emergency.

Exploit ScenarioDerived

An attacker crafts an XML document that ends with an error inside an element and gets a victim application built on libxml2's xmlTextReader interface (with DTD validation) to parse it. When the reader is closed after the underlying document has been freed, stale DTD validation state causes xmlTextReaderClose to read freed element declarations, producing a crash or invalid free. No public exploit code was identified; the local vector, high complexity (AC:H), attack requirement (AT:P) and need for victim processing (UI:P) make reliable exploitation difficult.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Use-after-free in GNOME libxml2 2.9.10 through 2.15.4 can crash applications that use the streaming xmlTextReader API with DTD validation when a crafted XML document ends with an error inside an element and the reader is closed. The primary impact is denial of service through invalid frees, with only limited potential exposure of freed memory; the assessed CVSS 3.1 vector is local, high complexity, and requires victim interaction. No public exploit was identified at time of analysis, and the CVSS 4.0 base score is 5.8.

RemediationAI

No exact fixed release is stated in the supplied data; apply the vendor-patched libxml2 release referenced by GitLab issue 1208 or the VulnCheck advisory when published, and monitor those sources for the fixed version. Until a patched release is confirmed, the assessment identifies applications that use xmlTextReader with DTD validation on untrusted XML and then call xmlTextReaderClose as the exposed path; applications that do not enable DTD validation or do not use the reader close path are described as not exposed. Disabling DTD validation for untrusted XML or avoiding the affected reader-close path reduces exposure but can remove validation and entity-processing behavior and change parser behavior, and the supplied data does not establish these as complete fixes.

Affected VersionsENISA

libxml2 2.9.10 ≤2.15.4

Affected Packages

euvd libxml2 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libxml2 is the XML parsing library used by many applications and language runtimes. The affected path involves xmlTextReader, its streaming reader interface, together with DTD validation state and xmlTextReaderClose; the CVE description says an XML document that ends with an error inside an element can leave stale DTD validation state that references element declarations after documents obtained through xmlTextReaderCurrentDoc have been freed. CWE-416 (use-after-free) is the relevant root-cause class, and the supplied references point to xmlreader.c around lines 3885-3907 and 2201-2238 in v2.15.4 as the relevant code areas. The supplied CPE cpe:2.3:a:gnome:libxml2:*:*:*:*:*:*:*:* identifies the libxml2 package broadly, with the advisory scoping the issue to versions 2.9.10 through 2.15.4. The CVSS 4.0 vector is AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N, and the independent assessment scores it CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H.

Know when Gnome gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.8 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Local, victim-triggered parsing (AV:L/UI:R) with an attacker-uncontrolled trigger condition raising complexity (AC:H); no privileges needed (PR:N); impact is a crash/invalid free (A:H) with only freed-memory read exposure (C:L) and no integrity effect.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability that allows attackers to trigger stale DTD validation states after xmlTextReaderCurrentDoc documents are freed. Attackers can supply an XML document ending with an error inside an element, causing xmlTextReaderClose to read freed element declarations, leading to crashes and possible invalid frees.

Threat Intelligence Overview

EPSS Score
0.3%
Top 89% exploitable
Prevalence
Ubiquitous
core XML parsing library across Linux, GNOME, and countless applications
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Gnome

View all
CVE-2017-1000083 HIGH POC
7.8 Sep 05

backend/comics/comics-document.c (aka the comic book backend) in GNOME Evince before 3.24.1 allows remote attackers to e

CVE-2018-10900 HIGH POC
7.8 Jul 26

Network Manager VPNC plugin (aka networkmanager-vpnc) before version 1.2.6 is vulnerable to a privilege escalation attac

CVE-2024-52533 CRITICAL POC
9.8 Nov 11

gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CON

CVE-2017-5885 CRITICAL POC
9.8 Feb 28

Multiple integer overflows in the (1) vnc_connection_server_message and (2) vnc_color_map_set functions in gtk-vnc befor

CVE-2022-27811 CRITICAL POC
9.8 Mar 24

GNOME OCRFeeder before 0.8.4 allows OS command injection via shell metacharacters in a PDF or image filename. Rated crit

CVE-2019-17266 CRITICAL POC
9.8 Oct 06

libsoup from versions 2.65.1 until 2.68.1 have a heap-based buffer over-read because soup_ntlm_parse_challenge() in soup

CVE-2019-1010238 CRITICAL POC
9.8 Jul 19

Gnome Pango 1.42 and later is affected by: Buffer Overflow. Rated critical severity (CVSS 9.8), this vulnerability is re

CVE-2018-16428 CRITICAL POC
9.8 Sep 04

In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference. Rated critical sev

CVE-2025-13601 HIGH POC
7.7 Nov 26

Heap-based buffer overflow in GLib's g_escape_uri_string() function allows local attackers to achieve high-integrity and

CVE-2017-2862 HIGH POC
7.8 Sep 05

An exploitable heap overflow vulnerability exists in the gdk_pixbuf__jpeg_image_load_increment functionality of Gdk-Pixb

CVE-2016-6855 HIGH POC
7.5 Sep 07

Eye of GNOME (aka eog) 3.16.5, 3.17.x, 3.18.x before 3.18.3, 3.19.x, and 3.20.x before 3.20.4, when used with glib befor

CVE-2017-2870 HIGH POC
7.8 Sep 05

An exploitable integer overflow vulnerability exists in the tiff_image_parse functionality of Gdk-Pixbuf 2.36.6 when com

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy