Spring Framework Denial of Service with streaming text decoding in WebFlux
Summary
| CVE | CVE-2026-59418 |
|---|---|
| State | PUBLISHED |
| Assigner | vmware |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 08:17:45 UTC |
| Updated | 2026-12-02 19:26:40 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Spring | Spring Framework | affected 7.0.0 7.0.10.1 semver | Not specified |
| CNA | Spring | Spring Framework | affected 6.2.0 6.2.21 semver | Not specified |
| CNA | Spring | Spring Framework | affected 6.1.0 6.1.30 semver | Not specified |
| CNA | Spring | Spring Framework | affected 7.0.0 7.0.11 OSS | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| spring.io/security/cve-2026-59418 | [email protected] | spring.io | |
| nvd.nist.gov/vuln-metrics/cvss/v3-calculator | [email protected] | nvd.nist.gov | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: This issue was reported by YLChen-007 . (en)
There are currently no legacy QID mappings associated with this CVE.