CVE-2026-59418
Description
A flaw was found in Spring WebFlux. A remote attacker can cause a Denial of Service (DoS) by sending specially crafted HTTP requests to applications configured to decode request bodies as text streams under custom memory limits. When incoming requests exceed the configured memory threshold, the application fails to properly release internal memory buffers, resulting in a memory leak that can eventually crash or render the application unresponsive.
Statement
This vulnerability is rated as having a Moderate impact due to requiring a specific, non-default application configuration to be exploitable. An attacker could cause a denial of service via memory exhaustion by sending crafted HTTP requests. Exploitation requires streaming text request body decoding on Reactor Netty with a custom codec limit lower than the server buffer size (8KB). Applications using default codec memory limits (256KB) or alternative server connectors are not exposed.
Mitigation
To mitigate this flaw, reconfigure the Spring WebFlux codec `maxInMemorySize` setting to a value equal to or greater than the server HTTP buffer size (such as the default 256KB).
Caveats: Increasing codec memory limits may result in higher peak memory usage per request under heavy traffic. Applications must be restarted for configuration changes to take effect.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.9 | N/A | 5.9 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | High | N/A | High |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (Other); DoS: Resource Consumption (Memory); DoS: Resource Consumption (CPU)
An attacker that can influence the allocation of resources that are not properly released could deplete the available resource pool and prevent all other processes from accessing the same type of resource. Frequently-affected resources include memory, CPU, disk space, power or battery, etc.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.