Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted XSD with cyclic type/group
-
DeliveryApplication invokes xmlschema-walker
-
ExploitWalker recurses without cycle detection
-
ExecutionStack overflow crashes process
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires that the consuming application feed an attacker-controlled XML schema to the Apache XmlSchema walker (xmlschema-walker) component, and that the schema contain a cycle in type derivation, substitution groups, model groups, or attribute groups. The primary limiting factor is that this is a library: an application only exposed if it parses untrusted/third-party schemas (e.g. user-uploaded XSD/WSDL or remotely imported schemas); deployments that walk only trusted, internally-controlled schemas are not realistically exploitable. Impact is limited to a crash (availability); there is no data exposure or code execution. Fixed in version 2.3.3. |
| Impact | This is a denial-of-service vulnerability (uncontrolled recursion / stack overflow, CWE-674) in the Apache XmlSchema walker library, reported by the Apache Software Foundation itself. No CVSS vector, EPSS score, or CWE was supplied in the input, and there is no KEV listing or public exploit code, so the exploitation status is 'no public exploit identified at time of analysis.' The real-world impact is confined to availability: a crafted schema containing a cycle in type derivation, substitution groups, model groups, or attribute groups forces unbounded recursion until the stack overflows and the processing thread/application crashes. There is no confidentiality or integrity impact. Critically, this is a library, not a standalone service - real risk depends entirely on whether the consuming application parses attacker-controlled XML schemas; applications that only process trusted, first-party schemas are effectively not exposed. Because no CVSS vector was provided, authentication and attack-vector qualifiers cannot be confirmed from the data; my independent assessment treats the schema as potentially network-supplied but availability-only. Overall this is a low-to-medium priority issue: a self-reported, patch-available, availability-only DoS in a dependency, with no evidence of active exploitation or automatable mass abuse. |
| Exploit ScenarioDerived | An application that uses Apache XmlSchema's walker to process XML schemas from an untrusted source (e.g. an uploaded WSDL/XSD or a schema fetched from a remote import) receives a schema whose type derivation or group definitions form a cycle. When the walker traverses the schema it recurses without cycle detection until the JVM stack overflows, crashing the processing thread or the service. No public proof-of-concept is identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
Stack exhaustion in the Apache XmlSchema walker (xmlschema-walker) allows a malicious XML Schema to crash any application that parses untrusted XSD/WSDL content, because the walker performs no cycle detection across type derivations, substitution groups, model groups, or attribute groups and recurses until the stack overflows. The flaw is remotely triggerable without authentication (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and is limited to availability impact - no data disclosure or code execution. It is a third-party library issue rather than a directly network-exposed service: only deployments that walk attacker-controlled or third-party schemas are realistically exploitable, no public exploit code has been identified at time of analysis, and remediation is the vendor-released patch in version 2.3.3.
RemediationAI
Upgrade Apache XmlSchema to version 2.3.3 or later, the vendor-released patch for this issue, and redeploy all dependent applications (see the advisory at https://lists.apache.org/thread/1cj02tobjyhjqq723bvg78yxkqt1lk7k). Where an immediate upgrade is not possible, the most effective compensating control is to enforce the trust boundary: restrict or disable features that accept attacker-supplied or third-party XSD/WSDL, and validate schema provenance before walking it, since a schema drawn from a trusted internal repository cannot carry the malicious cycle (the trade-off is loss of functionality for user-uploaded or externally imported schemas). Additional hardening with measurable trade-offs includes parsing schemas in an isolated worker thread with a bounded thread stack (for example a reduced -Xss value, which converts the overflow into a faster, contained failure at the cost of limiting legitimate deep schemas), enforcing request timeouts and concurrency limits on schema-processing endpoints to cap resource consumption during an attack, and running schema parsers in a sandboxed or separately-resourced process so a crash does not take down the primary service. Note that input-size or XML-entity limits do not prevent this bug, because a small, well-formed schema is sufficient to trigger the unbounded recursion; only the 2.3.3 fix or strict trust-boundary enforcement removes the exposure.
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
Apache XmlSchema is a Java library for modelling and traversing W3C XML Schema (XSD) documents; its walker component visits schema components transitively, following relationships such as type derivation hierarchies, substitution groups, model groups, and attribute groups. XSD permits recursive and circular constructions - a type can derive from another type that in turn references it, a substitution-group member can participate in a group that refers back to it, and model/attribute groups can nest via ref - so a well-formed but maliciously crafted schema can encode a cycle that the walker follows indefinitely. Because the affected CPE (cpe:2.3:a:apache_software_foundation:apache_xmlschema:*:*:*:*:*:*:*:*) matches all released versions and no CWE was supplied by the vendor, the root cause class is uncontrolled recursion / stack overflow (CWE-674): the traversal routine lacks a visited-set or depth bound, so each cycle iteration consumes another stack frame until the JVM throws a StackOverflowError or the process becomes unresponsive. The impact profile is therefore availability-only (C:N/I:N/A:H) with no confidentiality or integrity consequence, and exploitation is contingent on the consuming application's trust boundary - an application that only walks internally controlled schemas is not exposed.
Know when Apache Xmlschema 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Availability-only crash (A:H, C/I:N); assumed schema can arrive over the network via the consuming app (AV:N), with no auth or interaction assumed, though real exposure is application-dependent.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
1DescriptionCVE.org
The Apache XmlSchema walker (xmlschema-walker) doesn't detect cycles in type derivation, substitution groups, model groups or attribute groups. A malicious schema with such a cycle can make the walker recurse until the stack overflows, causing a denial of service.
Users are recommended to upgrade to version 2.3.3, which fixes this issue.
Articles & Coverage 1
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.
More in Apache Xmlschema
View allStack exhaustion in Apache XmlSchema allows remote attackers to cause a denial of service by supplying a malicious XML S
Stack overflow denial of service in Apache XmlSchema versions before 2.3.3 allows unauthenticated remote attackers to cr
EUVD-2026-88739
GHSA-9wgm-rwmh-4mcv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB