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.
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Wed, 02 Dec 2026 07:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Spring Framework Denial of Service with streaming text decoding in WebFlux | |
| References |
| |
| Metrics |
cvssV3_1
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: vmware
Published:
Updated: 2026-12-02T07:12:16.709Z
Reserved: 2026-07-04T18:16:02.270Z
Link: CVE-2026-59418
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses
No weakness.