Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to reachable RSocket endpoint
-
ExploitSend crafted Basic Authentication frame
-
ExecutionOversized length field sizes huge allocation
-
ImpactServer memory exhausted, denial of service
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires the target application to use Spring Security's RSocket support with an AuthenticationPayloadInterceptor whose authentication converter has NOT been overridden, leaving BasicAuthenticationPayloadExchangeConverter as the default - for example the deprecated RSocketSecurity#basicAuthentication configuration - AND the RSocket endpoint must be network-reachable by the attacker. No authentication is required (PR:N) and no user interaction is needed; a single crafted frame suffices. Limiting factors: this is not a default configuration for typical Spring applications - only deployments that explicitly enable RSocket security with the default basic-authentication converter are affected, so applications that do not use RSocket, or that override the authentication converter, are not exposed. |
| Impact | All signals converge on a genuine but bounded availability risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) indicates a network-reachable, low-complexity, unauthenticated attack with pure availability impact and no confidentiality or integrity loss, which is consistent with the description's memory-exhaustion denial of service. No EPSS score, KEV listing, or verified exploit code was supplied, so there is no evidence of active exploitation - this is not a drop-everything emergency. The vendor-assigned priority is 'this_week' and a patch is available, which fits a serious DoS that is easy to trigger but limited to availability. The key caveat is exposure-dependent: the flaw only applies to applications that actually enable Spring Security's RSocket support with the default BasicAuthenticationPayloadExchangeConverter (e.g. the deprecated RSocketSecurity#basicAuthentication), a non-default and relatively uncommon configuration, so real-world impact is far narrower than the broad Spring Security install base would suggest. CWE is unassigned in the input but the described behavior (an attacker-controlled length field used to size an allocation without validation) is a classic unchecked-allocation / uncontrolled resource consumption pattern. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach an exposed RSocket endpoint opens a connection and sends a single crafted non-standard Basic Authentication metadata frame whose length field specifies an extremely large value. The server reads that length and attempts a correspondingly huge memory allocation, exhausting available memory and causing a denial of service. No public exploit code was identified in the provided sources; the herodevs reference is an advisory, not verified working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Memory-exhaustion denial of service in Spring Security's RSocket support, where the default BasicAuthenticationPayloadExchangeConverter sizes a memory allocation directly from an attacker-supplied length field in a crafted Basic Authentication metadata frame, so a single frame can force an extremely large allocation and exhaust server memory. Only applications that enable RSocket security with an AuthenticationPayloadInterceptor whose authentication converter has not been overridden are exposed - for example deployments using the deprecated RSocketSecurity#basicAuthentication configuration - and the RSocket endpoint must be reachable by the attacker; applications without RSocket, or with a custom converter, are not affected. No authentication (PR:N) or user interaction is required, the impact is availability-only (C:N/I:N/A:H, CVSS 7.5), no KEV listing applies and no public exploit code was identified at time of analysis, so all signals converge on a genuine but bounded availability risk.
RemediationAI
A vendor patch is available per the Spring advisory (https://spring.io/security/cve-2026-59331); upgrade to the fixed release for your branch, which the EUVD record lists as the end of each affected range: 7.1.3 (or 7.1.2.1), 7.0.9 (or 7.0.8.1), 6.5.13, 6.4.20, 5.8.29, and 5.7.27 - confirm the exact target version against the vendor advisory before upgrading. As a compensating control where an immediate upgrade is not possible, override the AuthenticationPayloadInterceptor's authentication converter so that BasicAuthenticationPayloadExchangeConverter is no longer in effect (this disables the non-standard Basic Authentication frame path and requires clients to use an alternative authentication mechanism), and migrate off the deprecated RSocketSecurity#basicAuthentication configuration; additionally, restrict network reachability of the RSocket endpoint to trusted clients, which reduces but does not eliminate exposure since any peer that can open a connection can send the crafted frame. Note that the vendor's complete fix is the version upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Security's RSocket integration decodes authentication credentials from frame metadata; BasicAuthenticationPayloadExchangeConverter implements a non-standard 'Basic Authentication' frame that carries username and password as length-prefixed fields in the RSocket metadata payload. The decoder read the 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, so the frame's own declared length - not the bytes actually present - drove the allocation. Because RSocket metadata arrives before authentication completes, an unauthenticated peer that can open a connection can reach this parsing path. The flaw class is an unvalidated length field leading to an oversized allocation; no CWE identifier was supplied with the CVE record, and the sources do not describe any additional trigger condition beyond sending a single crafted authentication frame. Exposure is configuration-dependent: the vulnerable converter is the default only when an AuthenticationPayloadInterceptor is present and its authentication converter has not been overridden, such as with the deprecated RSocketSecurity#basicAuthentication configuration, per the vendor advisory at spring.io/security/cve-2026-59331.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated attacker sends one crafted frame over the network (AV:N/AC:L/PR:N/UI:N) causing memory exhaustion with availability-only impact (C:N/I:N/A:H, scope unchanged).
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-59331 is a high-severity memory-exhaustion flaw in Spring Security's RSocket support that allows an unauthenticated attacker to crash a server by sending a single malicious frame, causing a denial of service. Organizations using RSocket with default security settings are affected, and while there is no evidence of active exploitation, the low attack complexity and potential for service disruption warrant prompt remediation to protect system availability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
EmbeddedLdapServer in the spring-ldap-test artifact, Spring LDAP's test fixture, listens on every network interface of i
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
EUVD-2026-141021
NVD
CVE.org
GitHub PoC
Exploit-DB