CVE-2026-59331

7.5High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

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

Source: nvd.nist.gov/vuln/detail/CVE-2026-59331

More fully triaged vulnerabilities you may want to check next.