CVE-2026-66142

Apache Neethi: Uncontrolled recursion in policy processing

Published Jul 24, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Apache Neethi is vulnerable to uncontrolled recursion when parsing policies that lack policy Ids or with deeply nested structures, which may lead to a denial of service attack when parsing policies due to runtime memory exhaustion. Users are recommended to upgrade to version 3.2.3, which fixes this issue.

Analysis

AI-generated

Technical impact

Apache Neethi processes WS policy documents. When a policy does not include a policy ID or contains deeply nested structures, the recursion that resolves policy references expands without limit, eventually exhausting the JVM heap and causing the application to become unresponsive. The weakness is classified as CWE‑400 and allows an attacker who can supply such a policy document to trigger a denial‑of‑service condition by exhausting memory.

Affected Systems

All builds of Apache Neethi prior to version 3.2.3 are vulnerable. Any application that imports policy documents with the library, including web services frameworks, must consider this risk if it processes untrusted policy input.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity for service disruption. The EPSS score of less than 1% signals a low probability of exploitation in the current threat landscape, and the vulnerability is not listed in CISA’s KEV catalog. An attacker would need to supply a crafted policy that lacks a policy ID or has excessive nesting depth—delivery could occur through any channel that feeds policy documents to the library, such as network endpoints that accept policy uploads, administrative consoles, or file‑based inputs. Based on typical usage patterns, these channels are inferred but not explicitly stated in the CVE entry.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Neethi to version 3.2.3 or later
  • Validate incoming policy documents to ensure they contain a policy ID before passing them to the library
  • Reject or silently ignore policies whose nesting depth exceeds a predetermined safe limit (e.g., 10 levels)
  • Implement rate limiting on endpoints that accept policy uploads to reduce the likelihood of repeated memory‑exhaustion attempts
  • Monitor JVM heap usage for sudden spikes during policy parsing and alert on sustained high memory consumption

Generated by OpenCVE AI on August 4, 2026 at 15:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache
Apache neethi
Vendors & Products Apache
Apache neethi
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'}

Type Values Removed Values Added
Description Apache Neethi is vulnerable to uncontrolled recursion when parsing policies that lack policy Ids or with deeply nested structures, which may lead to a denial of service attack when parsing policies due to runtime memory exhaustion. Users are recommended to upgrade to version 3.2.3, which fixes this issue.
Title Apache Neethi: Uncontrolled recursion in policy processing
Weaknesses CWE-400
References
Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jul 24, 2026, 6:38 PM
Reserved
Jul 24, 2026, 7:16 AM
Status
Analyzed
Published
Jul 24, 2026, 1:18 PM
Modified
Oct 24, 2026, 1:10 PM