CVE-2026-59331
Published:December 02, 2026
Updated:December 03, 2026
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.
Affected Packages
org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=6.5.0 <6.5.11-spring-security-6.5.14Fix Suggestion:
Update to version 6.5.11-spring-security-6.5.14org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=6.3.0 <6.3.10-spring-security-6.3.16Fix Suggestion:
Update to version 6.3.10-spring-security-6.3.16org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=5.7.0 <5.7.14-spring-security-5.7.27Fix Suggestion:
Update to version 5.7.14-spring-security-5.7.27org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=5.8.0 <5.8.16-spring-security-5.8.30Fix Suggestion:
Update to version 5.8.16-spring-security-5.8.30org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=5.5.0 <5.5.8-spring-security-5.5.15Fix Suggestion:
Update to version 5.5.8-spring-security-5.5.15org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=6.4.0 <6.4.13-spring-security-6.4.19Fix Suggestion:
Update to version 6.4.13-spring-security-6.4.19org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=6.2.0 <6.2.8-spring-security-6.2.18Fix Suggestion:
Update to version 6.2.8-spring-security-6.2.18Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
EPSS
Base Score:
0.54