Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.14
Fix Suggestion:
Update to version 6.5.11-spring-security-6.5.14
org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=6.3.0 <6.3.10-spring-security-6.3.16
Fix Suggestion:
Update to version 6.3.10-spring-security-6.3.16
org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=5.7.0 <5.7.14-spring-security-5.7.27
Fix Suggestion:
Update to version 5.7.14-spring-security-5.7.27
org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=5.8.0 <5.8.16-spring-security-5.8.30
Fix Suggestion:
Update to version 5.8.16-spring-security-5.8.30
org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=5.5.0 <5.5.8-spring-security-5.5.15
Fix Suggestion:
Update to version 5.5.8-spring-security-5.5.15
org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=6.4.0 <6.4.13-spring-security-6.4.19
Fix Suggestion:
Update to version 6.4.13-spring-security-6.4.19
org.springframework.security:spring-security-rsocket (JAVA):
Affected version(s) >=6.2.0 <6.2.8-spring-security-6.2.18
Fix Suggestion:
Update to version 6.2.8-spring-security-6.2.18
Do you need more information?
Contact Us
CVSS 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