MODERATE

CVE-2026-59418

Spring Framework Denial of Service with streaming text decoding in WebFlux

Description

Spring WebFlux applications that decode a request body as a stream of text lines 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 WebFlux on Reactor Netty The application decodes request bodies as a stream of String values, for example with bodyToFlux(String.class) or a Flux<String> request body The application configures a maxInMemorySize codec limit that is lower than the size of buffers produced by the server (8KB by default with HTTP/1.1)

When all conditions are met, an attacker can send crafted requests that exceed the configured limit and cause the application to leak pooled memory, eventually leading to a denial of service. Applications using the default maxInMemorySize of 256KB with default server settings are not affected.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-core
>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11
7.0.11

Blast radius

1affected artifacts
61affected versions
36,349dependent artifacts (est.)
853,609dependent versions

84% of the dependent artifacts (30,843) still pull an affected version in their latest release.

DepthDependent versions
Direct
60,154
2 hops
258,208
3 hops
316,623
4 hops
162,444
5 hops
42,632
6 hops
13,548

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.