CVE-2026-42402: Apache Neethi is vulnerable to a Denial of Service attack through algorithmic complexity in policy normalization

CVE-2026-42402 · Severity: high · CVSS 7.5 · Published 2026-05-01

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.

Technologies: Apache Neethi, org.apache.neethi:neethi (Maven). Vendors: Apache, Maven.

Quick answers

Is CVE-2026-42402 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-42402 being exploited in the wild.
How severe is CVE-2026-42402?
High severity, with a CVSS score of 7.5, published 1 May 2026.
Which products and versions are affected?
org.apache.neethi:neethi (Maven) ECOSYSTEM:introduced=0,fixed=3.2.2.
Is there a fix for CVE-2026-42402?
Yes. org.apache.neethi:neethi (Maven): upgrade to 3.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-42402?
Check whether you run Apache Neethi or org.apache.neethi:neethi (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.neethi:neethi (Maven): upgrade to 3.2.2 or later
    # set org.apache.neethi:neethi to 3.2.2 in your pom.xml or build.gradle

Affected products

  • Apache Neethi
  • org.apache.neethi:neethi (Maven) ECOSYSTEM:introduced=0,fixed=3.2.2

Identifiers

  • CVE-2026-42402
  • GHSA-g36m-9g3m-2vmp

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.