Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malformed XML to a reused reader
-
ExploitTrigger unreset error state in xmlTextReaderSetup
-
ImpactAll 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Stack-based buffer overflow in libxml2's xmlBuildQName function allows remote unauthenticated attackers to crash affecte
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
The xmlNextChar function in libxml2 before 2.9.4 allows remote attackers to cause a denial of service (heap-based buffer
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
Heap-based buffer overflow in the xmlFAParsePosCharGroup function in libxml2 before 2.9.4, as used in Apple iOS before 9
Alpine Linux: libxml2 fixed in 2.12.7-r0
An issue was discovered in libxml2 before 2.10.3. Rated high severity (CVSS 7.5), this vulnerability is remotely exploit
A buffer overflow was discovered in libxml2 20904-GITv2.9.4-16-g0741801. Rated high severity (CVSS 7.5), this vulnerabil
The xmlParseElementDecl function in parser.c in libxml2 before 2.9.4 allows context-dependent attackers to cause a denia
parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities. Rated high severity (CVSS 7.
The xmlBufAttrSerializeTxtContent function in xmlsave.c in libxml2 allows context-dependent attackers to cause a denial
Multiple use-after-free vulnerabilities in libxml2 2.9.0 and possibly other versions might allow context-dependent attac
EUVD-2026-135777
GHSA-5pfw-5ch2-gcjg
NVD
CVE.org
EPSS
VulDB
Exploit-DB