Skip to main content

libxml2 EUVDEUVD-2026-135777

| CVE-2026-137069 MEDIUM
Missing Initialization of Resource (CWE-909)
2026-11-25 VulnCheck GHSA-5pfw-5ch2-gcjg
5.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit malformed XML to a reused reader
  2. Exploit
    Trigger unreset error state in xmlTextReaderSetup
  3. Impact
    All subsequent documents rejected until reader recreated (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Missing initialization of resource
Exploitation Conditions

Exploitation requires that the target application reuse a single xmlTextReader instance across multiple documents rather than creating a fresh reader per document - applications that instantiate a new reader per document are not affected. Given that precondition, an attacker needs only to get one malformed XML document processed by that shared reader. The supplied vector is PR:N, so no authentication is indicated; however, the input vector's AV:L and UI:P suggest a local/interaction-dependent path that conflicts with the description. Limiting factors that reduce real risk: impact is confined to availability of XML processing (no confidentiality or integrity effect), the condition is recoverable by recreating the reader or restarting the process, and the dependency on the non-default reader-reuse coding pattern narrows the exposed population.

Impact

This is a limited-impact, availability-only denial of service (CVSS 5.7, affecting only VA/A), not a code-execution or data-exposure flaw. The real-world priority signals are modest and mostly point to low urgency: there is no CISA KEV listing (not confirmed actively exploited), no EPSS score was supplied, and no public exploit is confirmed in the input; the vendor priority label is 'this_month' (not act_now/emergency). The most important caveat is an internal conflict in the severity data: the supplied CVSS 4.0 vector is AV:L (local) with AT:P and UI:P, yet the description states an attacker can 'submit one malformed XML document to an application,' which for many real deployments (XML-over-HTTP services) implies remote, attacker-reachable input rather than local access - this AV:L vs. description discrepancy should be verified against how the consuming application ingests documents. The impact is also self-limiting and recoverable: the malformed document poisons a reused reader's error state so all later documents are rejected, but functionality returns once the application recreates the reader. Net: a real but low-to-moderate defensive priority - worth patching on a normal cycle, not an emergency, and only materially exploitable where the application reuses a single xmlTextReader across documents.

Exploit ScenarioDerived

An application (for example an XML-ingesting web service or batch processor) that creates one xmlTextReader and reuses it across many incoming documents receives a single malformed XML document from an attacker. Because xmlTextReaderSetup fails to reset reader->state on reuse, the reader stays stuck in an error state and rejects every subsequent, even well-formed, document until the reader object is recreated or the process restarts. No public weaponized exploit is confirmed in the input, though the referenced GNOME issue tracker (#1163) may contain reproduction details.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 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 libxml2 2.13.0 through 2.15.4 occurs when an application reuses one xmlTextReader instance across multiple XML documents: a single malformed document leaves the reader's state set, and every later document is rejected until the reader is recreated or the process is restarted. The impact is availability-only and depends on that reader-reuse pattern, so applications that create a fresh reader per document are not affected; no public exploit identified at time of analysis. The supplied base score is 5.7, and the independent assessment characterizes this as limited-impact DoS rather than code execution or data exposure.

RemediationAI

Patch available per vendor advisory: apply the libxml2 update associated with https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/503 and verify the fixed release in https://gitlab.gnome.org/GNOME/libxml2/-/issues/1163, because the provided data does not specify an exact fixed version number. Until the update is deployed, ensure the application creates a fresh xmlTextReader for each document, or at minimum recreates it after any parse failure, so a persisted error state cannot reject later documents; this requires application code changes and adds per-document allocation overhead. Restarting the affected process clears a stuck reader but is disruptive and only a temporary recovery measure.

Affected VersionsENISA

libxml2 2.13.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

libxml2 is the widely embedded XML C library used by GNOME and many application stacks; CPE cpe:2.3:a:gnome:libxml2:*:*:*:*:*:*:*:* identifies the product, while the advisory narrows affected versions to 2.13.0 through 2.15.4. The flaw is CWE-909 (Missing Initialization of Resource): xmlTextReaderSetup does not reset reader->state when an existing xmlTextReader is reused, so an error state from one malformed document persists into subsequent parses. The vendor references the implementation in xmlreader.c (lines 1200-1210 and 4714-4830) and tracks the fix in issue 1163 and merge request 503. The supplied CVSS 4.0 vector is AV:L/AC:H/AT:P/PR:N/UI:P, while the independent assessment uses CVSS 3.1 AV:N/AC:H/PR:N/UI:N; the discrepancy means remote reachability is not uniformly confirmed, and the prerequisite remains an application that reuses a reader instance. The trigger is a malformed document processed by that shared reader; no confidentiality or integrity impact is assessed.

Know when Libxml2 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 3.7 LOW

AV:N because untrusted documents typically arrive remotely; AC:H because exploitation depends on the application reusing one reader across documents; A:L only, as the recoverable DoS affects just XML processing with no C/I impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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

libxml2 2.13.0 through 2.15.4 contains a denial of service vulnerability because xmlTextReaderSetup does not reset reader->state when a reader is reused. Attackers can submit one malformed XML document to an application reusing a single reader, causing every later document to be rejected until the reader is recreated.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
core XML parsing library embedded across countless applications and platforms
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 Yes
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

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

CVE-2025-6021 HIGH POC
7.5 Jun 12

Stack-based buffer overflow in libxml2's xmlBuildQName function allows remote unauthenticated attackers to crash affecte

CVE-2016-4658 CRITICAL
9.8 Sep 25

xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS befor

CVE-2016-1762 HIGH POC
8.1 Mar 24

The xmlNextChar function in libxml2 before 2.9.4 allows remote attackers to cause a denial of service (heap-based buffer

CVE-2016-1834 HIGH POC
7.8 May 20

Heap-based buffer overflow in the xmlStrncat function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X b

CVE-2016-1840 HIGH POC
7.8 May 20

Heap-based buffer overflow in the xmlFAParsePosCharGroup function in libxml2 before 2.9.4, as used in Apple iOS before 9

CVE-2024-34459 HIGH POC
7.5

Alpine Linux: libxml2 fixed in 2.12.7-r0

CVE-2022-40303 HIGH
7.5 Nov 23

An issue was discovered in libxml2 before 2.10.3. Rated high severity (CVSS 7.5), this vulnerability is remotely exploit

CVE-2017-9047 HIGH POC
7.5 May 18

A buffer overflow was discovered in libxml2 20904-GITv2.9.4-16-g0741801. Rated high severity (CVSS 7.5), this vulnerabil

CVE-2016-4447 HIGH POC
7.5 Jun 09

The xmlParseElementDecl function in parser.c in libxml2 before 2.9.4 allows context-dependent attackers to cause a denia

CVE-2017-16932 HIGH
7.5 Nov 23

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities. Rated high severity (CVSS 7.

CVE-2016-4483 HIGH POC
7.5 Apr 11

The xmlBufAttrSerializeTxtContent function in xmlsave.c in libxml2 allows context-dependent attackers to cause a denial

CVE-2013-1969 HIGH POC
7.5 Apr 25

Multiple use-after-free vulnerabilities in libxml2 2.9.0 and possibly other versions might allow context-dependent attac

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