Description
Apache XmlSchema doesn't limit how deeply schema imports and includes can be nested, so a malicious schema can make parsing recurse until the stack overflows. This causes a denial of service.
Users are recommended to upgrade to version 2.3.3, which fixes this issue.
Published: 2026-09-29
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

Apache XmlSchema lacks a limit on how deeply schema imports and includes can be nested. A malicious schema that deeply nests imports can cause the parser to recurse until the stack overflows, leading to an application crash and denial of service. This flaw does not directly compromise confidentiality or integrity but can render systems unavailable to legitimate users.

Affected Systems

The vulnerability affects all releases of the Apache XMLSchema library distributed by the Apache Software Foundation. Versions earlier than 2.3.3 are impacted, as the upgrade to 2.3.3 contains the fix. No specific sub‑versions beyond that are listed, so all earlier builds of the library should be considered vulnerable.

Risk and Exploitability

The flaw is exploitable by supplying a crafted XML schema to any component that loads schemas via the library. Because the CVE data provides a CVSS score of 7.5, the vulnerability is considered high severity. The absence of an EPSS score and lack of a KEV listing suggest it has not been observed widely yet. However, the potential for a stack overflow and a service interruption indicates a high risk if an attacker can control the schema input. The likely attack vector is through a REST or API endpoint that processes XML schemas or an application inadvertently loading untrusted schemas.

Generated by OpenCVE AI on September 30, 2026 at 09:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade all installations of Apache XMLSchema to version 2.3.3, which implements a recursion depth bound and eliminates the stack overflow.
  • If an upgrade cannot be applied immediately, restrict the XML schema sources to a whitelist of trusted URIs or disable external schema resolution entirely to prevent the parser from following nested imports.
  • Apply a recursion depth counter or resource limit to the XML parsing process, for example by configuring the JVM heap size or by using a sandboxed environment that aborts execution when stack usage exceeds a threshold.

Generated by OpenCVE AI on September 30, 2026 at 09:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:xmlschema:*:*:*:*:*:*:*:*

Wed, 30 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache xmlschema
Vendors & Products Apache
Apache xmlschema

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

threat_severity

Important


Tue, 29 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-674

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Description Apache XmlSchema doesn't limit how deeply schema imports and includes can be nested, so a malicious schema can make parsing recurse until the stack overflows. This causes a denial of service. Users are recommended to upgrade to version 2.3.3, which fixes this issue.
Title Apache XMLSchema: Denial of service through unbounded recursion when resolving schema imports and includes
References

Subscriptions

Apache Xmlschema
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-29T20:06:21.263Z

Reserved: 2026-09-29T10:34:05.783Z

Link: CVE-2026-102495

cve-icon Vulnrichment

Updated: 2026-09-29T12:11:25.487Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-29T12:17:09.620

Modified: 2026-10-06T14:38:53.533

Link: CVE-2026-102495

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-29T11:33:51Z

Links: CVE-2026-102495 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T20:42:26Z

Weaknesses
  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling