CVE-2026-59418 PUBLISHED

Spring Framework Denial of Service with streaming text decoding in WebFlux

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 5.9

Product Status

Vendor Spring
Product Spring Framework
Versions
  • affected from 7.0.0 to 7.0.10.1 (excl.)
  • affected from 6.2.0 to 6.2.21 (excl.)
  • affected from 6.1.0 to 6.1.30 (excl.)
  • affected from 7.0.0 to 7.0.11 (excl.)

Credits

  • This issue was reported by YLChen-007 .

References