Spring Security RSocket Basic Authentication Decoder Enables Denial of Service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
CVE-2026-59331 (GHSA-xvjx-vpcx-jrpq) affects the RSocket Basic Authentication decoder in Spring Security, BasicAuthenticationPayloadExchangeConverter. It sizes a memory allocation directly from a length field in the username and password metadata, without checking that the value is reasonable and non-negative for the available data. The flaw applies when the default converter stays in effect and the RSocket endpoint is reachable by the attacker. An unauthenticated attacker can send one crafted frame to exhaust server memory and cause a denial of service (CVSS 3.1 base score 7.5, HIGH).
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Security | 7.1.0 to before 7.1.2.1; 7.0.0 to before 7.0.8.1; 6.5.0 to before 6.5.13; 6.0.0 to before 6.4.20; 5.8.0 to before 5.8.29; 5.7.0 to before 5.7.27; 7.1.0 to before 7.1.3; 7.0.0 to before 7.0.9 | 7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, 5.7.27, 7.1.3, 7.0.9 | Patch available | CNA |
- Spring Security VendorVMware Affected 7.1.0 to before 7.1.2.1; 7.0.0 to before 7.0.8.1; 6.5.0 to before 6.5.13; 6.0.0 to before 6.4.20; 5.8.0 to before 5.8.29; 5.7.0 to before 5.7.27; 7.1.0 to before 7.1.3; 7.0.0 to before 7.0.9 Fixed in 7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, 5.7.27, 7.1.3, 7.0.9 Patch available CNA
Remediation
Upgrade Spring Security to a fixed release: 7.1.2.1, 7.1.3, 7.0.8.1, 7.0.9, 6.5.13, 6.4.20, 5.8.29 or 5.7.27.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA Spring Security (Spring) Fixed in 7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29, 5.7.27, 7.1.3, 7.0.9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Spring Security 5.7.27, 5.8.29 and 6 more versions
4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-101978 Spring Security ClientRegistration discloses OAuth2 client secretPriority MEDIUM 44
- TI-2026-101931 Remote code execution in Spring Security ELRequestMatcher via SpELPriority MEDIUM 44
- TI-2026-101932 Timing flaw in Spring Security reactive login exposes usernamesPriority LOW 33
Timeline
- 2026-12-02 Threatist record created from CVE-2026-59331
- 2026-12-02 Alias added: GHSA-xvjx-vpcx-jrpq
References
More VMware vulnerabilities
- TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
- TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59331 · CVE Program
- CVE-2026-59331 · NVD
- GHSA-xvjx-vpcx-jrpq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences