Skip to main content

GNOME libxml2 EUVDEUVD-2026-135764

| CVE-2026-137082 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-25 VulnCheck GHSA-h66q-m6vf-gq36
5.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach app reusing libxml2 context
  2. Delivery
    Supply XML parsed with XML_PARSE_SAX1
  3. Exploit
    Reparse attributes on same context without SAX1
  4. Execution
    Write to unallocated ctxt->attallocs
  5. Impact
    NULL pointer dereference crashes process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires the target application to reuse a single libxml2 parser context across two parses where attributes are first parsed with the XML_PARSE_SAX1 option enabled and then parsed again without XML_PARSE_SAX1 on that same reused context; this mismatched reuse leaves ctxt->attallocs unallocated so xmlParseStartTag2() writes to it. Limiting factors: the CVSS vector indicates a local vector (AV:L), high attack complexity (AC:H), a specific attack requirement (AT:P), and required user/application interaction (UI:P), meaning the SAX1-then-non-SAX1 context-reuse configuration is non-default and must be present in the consuming application - default single-pass parsing is not affected. Impact is confined to availability (process crash / DoS); there is no confidentiality or integrity impact.

Impact

This is a moderate-severity denial-of-service issue, not a priority emergency, and the decision signals agree on that. The supplied CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H) describes a local-vector flaw with high attack complexity, a specific attack requirement, and required user interaction, impacting availability only - no confidentiality or integrity loss. The vuln.today priority label is 'this_month' (not act_now/emergency), consistent with a crash-only bug that depends on an unusual parsing pattern. No CISA KEV listing is present, no EPSS score was provided, and no confirmed working exploit code is referenced, so there is no evidence of active or widespread exploitation. The main tension to verify: the vector marks AV:L and AT:P, yet the description frames the trigger as an attacker 'supplying documents,' which could be delivered remotely to a vulnerable application - the local vector reflects that the application must itself be configured to reuse a parser context across SAX1 and non-SAX1 parsing, so real-world reachability hinges on application behavior rather than the vulnerability alone. Net: a legitimate but unhurried patch item, dominated by the fact that libxml2 is an extremely widely embedded library.

Exploit ScenarioDerived

An attacker submits a crafted XML document to an application that reuses a libxml2 parser context, first parsing attributes with XML_PARSE_SAX1 enabled and then parsing again without it on that same reused context. This drives xmlParseStartTag2() to write to an unallocated ctxt->attallocs buffer, dereferencing a NULL pointer and crashing the application. No public exploit identified at time of analysis; the attack is local-vector with high complexity, a specific SAX1 configuration requirement, and required user/application interaction, so it is not a trivially remote crash.

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

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

Alert me

AnalysisAIv1 – Nov 25, 2026

Denial of service in GNOME libxml2 through 2.15.4 occurs when an application reuses one parser context across a parse of attributes with XML_PARSE_SAX1 followed by a parse without that option, leaving ctxt->attallocs unallocated and causing xmlParseStartTag2() to write through it and crash the process. The issue is confined to availability, requires local access with high attack complexity, a specific attack requirement, and user interaction, and depends on the non-default context-reuse pattern in the consuming application. The supplied sources identify no public exploit code, and the priority is this_month rather than emergency.

RemediationAI

No vendor-released patch identified at time of analysis, and the supplied sources do not list a fixed version; check GNOME issue 1177 and the libxml2 repository for an upstream fix, then upgrade to the release that contains it once published. Until then, the specific compensating control is to remove the vulnerable reuse pattern: do not parse attributes with XML_PARSE_SAX1 and then parse again without XML_PARSE_SAX1 on the same xmlParserCtxt. Use a fresh parser context for each parse, or otherwise ensure a context that parsed attributes with XML_PARSE_SAX1 is not reused for parsing without that option; this requires code changes in the consuming application and may add allocation overhead, but it removes the precondition for the crash. Default single-pass parsing is not affected, so applications that already use one context per parse need no change for this issue.

Affected VersionsENISA

libxml2 0 ≤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

GNOME libxml2 is a widely embedded C library for XML parsing. XML_PARSE_SAX1 changes attribute handling, and xmlParseStartTag2() tracks attribute allocations through ctxt->attallocs. The advisory states that parsing attributes first with XML_PARSE_SAX1 and then without it on a reused context causes writes to unallocated ctxt->attallocs; CWE-476 (NULL pointer dereference) is the root-cause class, and the result is a crash of the consuming process rather than code execution or data disclosure. The trigger requires the non-default context-reuse sequence and is not present in default single-pass parsing. The supplied CVSS vector indicates local access, high attack complexity, a specific attack requirement, and user interaction, so exploitability depends on the consuming application exposing that reuse pattern.

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.7 MEDIUM
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
vuln.today AI 4.7 MEDIUM

Trigger depends on a non-default SAX1/non-SAX1 context-reuse pattern (AC:H) and an application processing attacker XML (UI:R, AV:L consistent with input); only availability is affected (A:H, C/I:N).

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XML_PARSE_SAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
core XML parsing library embedded across Linux and countless applications
Data Quality
4 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.2%
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· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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