Skip to main content

Apache XmlSchema CVE-2026-102497

| EUVDEUVD-2026-88739 HIGH
Uncontrolled Recursion (CWE-674)
2026-09-29 apache GHSA-9wgm-rwmh-4mcv
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted XSD with cyclic type/group
  2. Delivery
    Application invokes xmlschema-walker
  3. Exploit
    Walker recurses without cycle detection
  4. Execution
    Stack overflow crashes process
  5. Impact
    Denial 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Apache XMLSchema 0 <2.3.3

Affected Packages

euvd apache_xmlschema fix: 2.3.3

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

Vendor (apache) PRIMARY 7.5 LOW
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 3.7 LOW

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Sep 29, 2026 - 13:17 EUVD

DescriptionCVE.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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Medium
Apache XML processing library, notably a dependency of Apache CXF web-service stacks
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
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.

Vendor StatusVendor

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