CVE-2026-42402
Apache Neethi is vulnerable to a Denial of Service attack through algorithmic complexity in policy normalization
Description
Apache Neethi is vulnerable to a Denial of Service attack through algorithmic complexity in policy normalization. Specially crafted WS-Policy documents can trigger an exponential Cartesian cross-product expansion during the normalization process, causing unbounded memory allocation that exhausts the JVM heap. This occurs when the normalization process generates an excessive number of policy alternatives without bounds, leading to runtime memory exhaustion.
Users should upgrade to 3.2.2 which limits the maximum number of normalized policy alternatives.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.neethi » neethi | < 3.2.2 | 3.2.2 |
Blast radius
78% of the dependent artifacts (9,544) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7,102 |
| 2 hops | 53,555 |
| 3 hops | 127,948 |
| 4 hops | 283,497 |
| 5 hops | 318,294 |
| 6 hops | 245,525 |
Most used dependents
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.apache.axis2.wso2 » axis21,425 usages
- org.apache.cxf » cxf-rt-frontend-jaxws1,379 usages
- org.apache.cxf » cxf-rt-transports-http1,281 usages
- org.apache.cxf » cxf-rt-frontend-jaxrs1,257 usages
- org.wso2.carbon » org.wso2.carbon.utils1,179 usages
- org.apache.cxf » cxf-codegen-plugin811 usages
- org.wso2.carbon » org.wso2.carbon.ui803 usages
- org.wso2.carbon » org.wso2.carbon.registry.core760 usages
- org.apache.cxf » cxf-rt-transports-http-jetty513 usages
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.apache.synapse » synapse-core453 usages
- org.wso2.carbon » org.wso2.carbon.user.core377 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.core350 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-42402 | nvd.nist.gov |
| Package | apache/ws-neethi | github.com |
| Web | thread/p826j0phhmr9f83wzpmys1y0bdfrr2q4 | lists.apache.org |
| Web | lists/oss-security/2026/05/01/6 | openwall.com |
