CVE-2026-42403

Apache Neethi: Circular Policy Reference Infinite Loop

Published May 1, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Apache Neethi does not properly detect circular references in policy definitions. When a WS-Policy document contains circular policy references (where Policy A references Policy B which references Policy A), the policy normalization process can enter an infinite loop or cause excessive recursion, leading to a stack overflow or application hang. An attacker can craft malicious policy documents with circular references to cause a Denial of Service condition

Users are recommended to upgrade to version 3.2.2, which fixes this issue.

Analysis

AI-generated

Technical impact

Apache Neethi fails to detect circular references in WS-Policy documents, allowing an attacker to craft a policy that triggers an infinite loop or stack overflow during policy normalisation. This flaw is a classic example of CWE-400: Uncontrolled Resource Consumption and CWE-606, and its primary impact is a denial of service where the application may crash, hang, or become unresponsive after processing the malicious policy.

Affected Systems

The Apache Software Foundation’s Apache Neethi library is affected; any version older than 3.2.2 is vulnerable. The recommended fix is to upgrade to the 3.2.2 release, which contains the patch for this issue.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, but the EPSS score of < 1% indicates a very low estimated probability of exploitation, so the likelihood remains limited. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw by supplying a crafted WS‑Policy document that contains circular references to a Neethi‑based application, triggering a denial of service on systems that accept or load remote policy documents, or on local applications that do not validate policy input.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy the Apache Neethi 3.2.2 or newer release to replace any vulnerable libraries.
  • Enable or implement a policy validation layer that detects and rejects circular references before normalisation.
  • Implement a recursion depth or timeout limit during policy parsing to prevent infinite loops or stack overflows.

Generated by OpenCVE AI on May 14, 2026 at 13:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2hfh-9h53-qc24 Apache Neethi does not properly detect circular references in policy definitions.
History
Type Values Removed Values Added
First Time appeared Apache
Apache neethi
CPEs cpe:2.3:a:apache:neethi:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache neethi
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Apache Neethi does not properly detect circular references in policy definitions. When a WS-Policy document contains circular policy references (where Policy A references Policy B which references Policy A), the policy normalization process can enter an infinite loop or cause excessive recursion, leading to a stack overflow or application hang. An attacker can craft malicious policy documents with circular references to cause a Denial of Service condition Users are recommended to upgrade to version 3.2.2, which fixes this issue.
Title Apache Neethi: Circular Policy Reference Infinite Loop
Weaknesses CWE-400
References
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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-606

    Unchecked Input for Loop Condition

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 1, 2026, 4:21 PM
Reserved
Apr 27, 2026, 10:33 AM
Status
Analyzed
Published
May 1, 2026, 9:16 AM
Modified
Oct 26, 2026, 9:10 PM
Severity
Moderate
Public date
May 1, 2026, 8:38 AM