CVE-2026-59331
Received
Received - Intake
Memory Exhaustion in Spring Security RSocket Support
Vulnerability report for CVE-2026-59331, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-12-02
Last updated on: 2026-12-02
Assigner: VMware
Description
Description
Spring Security's RSocket support includes BasicAuthenticationPayloadExchangeConverter , which decodes username and password metadata from a non-standard RSocket Basic Authentication frame.
The decoder read a length field from the incoming metadata and used it directly to size a memory allocation, without validating that the value was a reasonable, non-negative size relative to the data actually available. A single crafted authentication frame could therefore cause the server to attempt an extremely large allocation.
Preconditions :
The application uses Spring Security's RSocket support with an AuthenticationPayloadInterceptor that has not had its authentication converter overridden, leaving BasicAuthenticationPayloadExchangeConverter in effect as its default β as is the case, for example, with the deprecated RSocketSecurity#basicAuthentication configuration.
The RSocket endpoint is reachable by the attacker.
An unauthenticated attacker who can open a connection to the RSocket endpoint can exhaust available memory on the server, resulting in a denial of service.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vmware | spring_security | * |
| vmware | spring_security | From 7.1.0 (inc) to 7.1.2 (inc) |
| vmware | spring_security | From 7.0.0 (inc) to 7.0.8 (inc) |
| vmware | spring_security | From 6.5.0 (inc) to 6.5.12 (inc) |
| vmware | spring_security | From 6.0.0 (inc) to 6.4.19 (inc) |
| vmware | spring_security | From 5.8.0 (inc) to 5.8.28 (inc) |
| vmware | spring_security | From 5.7.0 (inc) to 5.7.26 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |