CVE-2026-91863: Apache Neethi: Uncontrolled recursion while parsing crafted WS-Policy documents allows denial of service
Apache Neethi before 3.2.4 suffers denial of service via deeply nested WS-Policy documents that exhaust the parser's thread stack (CVE-2026-91863).
Colm O hEigeartaigh disclosed CVE-2026-91863, an uncontrolled recursion flaw in Apache Neethi (org.apache.neethi:neethi) versions before 3.2.4. A crafted WS-Policy document with deeply nested policy elements bypasses the library's nesting-depth limit, exhausting the thread stack and crashing the parser. The flaw was found using Claude agents during security analysis of the code. Users are advised to upgrade to version 3.2.4.
- Deeply nested WS-Policy elements bypass Neethi's nesting-depth limit
- Stack exhaustion crashes the parsing thread, causing denial of service
- Fixed in Apache Neethi 3.2.4; all earlier versions affected
- Issue discovered using Claude agents for security analysis
Vulnerabilities mentionedAll →
- CVE-2026-918637.5—Stack-exhaustion DoS in Apache Neethi WS-Policy parser (fixed in 3.2.4)published · Apache Software Foundation Apache Neethi
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-91863 | Stack-exhaustion DoS in Apache Neethi WS-Policy parser (fixed in 3.2.4) Apache Neethi, the Java library used to parse WS-Policy documents in SOAP web-service stacks, fails to properly enforce its nesting-depth limit, allowing a specially crafted WS-Policy document with deeply nested policy elements to trigger uncontrolled recursion and exhaust the thread stack, crashing the parser. An attacker who can get a vulnerable application to parse a malicious policy document — for example a SOAP service that processes untrusted WS-Policy attachments or fetched WSDL/policy files — gains a denial-of-service condition only; there is no indication of code execution or data exposure. Any application embedding a Neethi version older than 3.2.4 is affected, and because Neethi is usually pulled in as a transitive dependency of frameworks such as Apache CXF, Axis2, and WSS4J, many maintainers may not realize they ship it. There is no public proof of concept, the issue is not in the CISA Known Exploited Vulnerabilities catalog, and no exploitation in the wild has been reported. |
Posted by Colm O hEigeartaigh on Sep 18 Severity: moderate Affected versions: - Apache Neethi (org.apache.neethi:neethi) before 3.2.4 Description: A specially crafted WS-Policy document with deeply nested policy elements can bypass Neethi's nesting-depth limit and exhaust the thread stack, crashing the parser (denial of service). Users are recommended to upgrade to version 3.2.4, which fixes this issue. Credit: This issue was found using Claude agents to study the security...
This source does not provide full text. Read it at seclists.org.