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

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

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 7 associated CPEs
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
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in Spring Security's RSocket support, specifically in the BasicAuthenticationPayloadExchangeConverter. It allows an attacker to send a crafted authentication frame that causes the server to allocate an extremely large amount of memory without proper validation. This can lead to memory exhaustion and denial of service.

Detection Guidance

Check if your application uses Spring Security's RSocket support with default BasicAuthenticationPayloadExchangeConverter. Monitor for unusually large memory allocations or crashes during RSocket authentication attempts. Review network traffic for malformed Basic Authentication frames targeting RSocket endpoints.

Impact Analysis

An unauthenticated attacker can exploit this to exhaust server memory by connecting to a vulnerable RSocket endpoint. This results in a denial of service, making the application or system unavailable to legitimate users.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by enabling denial of service attacks that disrupt service availability. GDPR requires data protection measures that ensure service availability, while HIPAA mandates safeguards against service disruptions affecting protected health information. A successful DoS attack could violate these requirements.

Mitigation Strategies

Upgrade Spring Security to fixed versions (e.g., 7.1.3 for OSS or 7.1.2.1 for Enterprise Support). If using deprecated RSocketSecurity#basicAuthentication, replace it with a custom AuthenticationPayloadInterceptor that overrides the default converter. Restrict network access to RSocket endpoints to trusted sources only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59331. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...