Spring Framework Denial of Service with streaming text decoding in WebFlux

MEDIUM | NOVEMBER 19, 2026 | CVE-2026-59418

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 Spring Products and Versions

Spring Framework:

  • 7.0.0 - 7.0.10
  • 6.2.0 - 6.2.20
  • 6.1.0 - 6.1.29

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.0.11OSS
7.0.10.1Enterprise Support Only
6.2.21Enterprise Support Only
6.1.30Enterprise Support Only

No further mitigation steps are necessary.

Credit

This issue was reported by YLChen-007.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all