CVE-2026-59331
7.5HighPublished Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- —
What an attacker gets
Unauthenticated attackers can crash your server by exhausting memory. They only need network access to your RSocket endpoint.
Root cause
The BasicAuthenticationPayloadExchangeConverter allocates memory based on an unvalidated length field from incoming metadata.
Affected versions
Versions not listed — check the vendor advisory.
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fix & remediation
Upgrade to the latest Spring Security release. If you cannot patch immediately, override the default AuthenticationPayloadInterceptor to remove the BasicAuthenticationPayloadExchangeConverter.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-593307.4HighAttackers with a cloned WebAuthn authenticator can bypass signature-counter checks to authenticate as victims. This requires the attacker to already possess a cloned credential for the target user.
- CVE-2026-593337.4HighUnauthenticated attackers can bypass IP-based access controls to gain unauthorized access to restricted endpoints. This requires the application to use IP matching and support both IPv4 and IPv6 address families.
- CVE-2026-594447.5HighAuthenticated attackers can achieve remote code execution by injecting malicious serialized objects into Redis lists. This requires the application to use default Java deserialization settings and have gadget chains available on the classpath.
- CVE-2026-594337.5HighUnauthenticated attackers can view sensitive credentials embedded in peer service URLs via the Eureka Server dashboard. This occurs if the dashboard is exposed and peer nodes are configured with embedded credentials.
- CVE-2026-594277.5HighUnauthenticated attackers can access sensitive, user-specific data that was incorrectly cached. This occurs when the gateway caches responses that should have been marked private or no-store.
- CVE-2026-594267.5HighUnauthenticated attackers can read sensitive responses intended for other users. This occurs when multiple routes share the same global cache without unique keys.