MODERATE

CVE-2026-59398

Spring Framework Denial of Service with Parameter-based Content Negotiation

Description

Spring MVC and Spring WebFlux applications that resolve the requested media type from a query parameter may be vulnerable to a denial of service attack.

Specifically, an application is vulnerable when all the following conditions are met:

The application is using Spring MVC or Spring WebFlux The application enables parameter-based content negotiation (for example, the format query parameter) For Spring MVC applications, content negotiation is not restricted to registered extensions only (useRegisteredExtensionsOnly)

When all conditions are met, an attacker can send crafted requests that cause the application to consume memory without limit, eventually leading to a denial of service.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.springframework » spring-web
>= 5.0.0, <= 5.2.26.RELEASE>= 5.3.0, <= 5.3.50>= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11
7.0.11
org.springframework » spring-webflux
>= 5.0.0, <= 5.2.26.RELEASE>= 5.3.0, <= 5.3.50>= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11
7.0.11

Blast radius

2affected artifacts
477affected versions
42,561dependent artifacts (est.)
1,830,282dependent versions

94% of the dependent artifacts (40,051) still pull an affected version in their latest release.

DepthDependent versions
Direct
196,968
2 hops
612,017
3 hops
630,298
4 hops
296,837
5 hops
78,536
6 hops
15,626

Most used dependents

Computed from the dependency graph of build 20261125.0317 (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.