CVE-2026-59418
Published:December 02, 2026
Updated:December 02, 2026
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 Packages
org.springframework:spring-core (JAVA):
Affected version(s) >=6.1.0 <6.1.21-spring-framework-6.1.31Fix Suggestion:
Update to version 6.1.21-spring-framework-6.1.31org.springframework:spring-core (JAVA):
Affected version(s) >=5.3.0 <5.3.39-spring-framework-5.3.55Fix Suggestion:
Update to version 5.3.39-spring-framework-5.3.55org.springframework:spring-core (JAVA):
Affected version(s) >=6.2.0 <6.2.19-spring-framework-6.2.22Fix Suggestion:
Update to version 6.2.19-spring-framework-6.2.22Related ResourcesĀ (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH