Skip to content

Spring Security

Spring Security RSocket Basic Authentication Decoder Enables Denial of Service via Unbounded Allocation

CVE-2026-59331Published 2 Dec 2026, 07:09 UTC

Real-world risk

3.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from vmware)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Spring SecurityWidespread>= 7.1.0, < 7.1.2.1; >= 7.0.0, < 7.0.8.1; >= 6.5.0, < 6.5.13; >= 6.0.0, < 6.4.20; >= 5.8.0, < 5.8.29; >= 5.7.0, < 5.7.27; >= 7.1.0, < 7.1.3; >= 7.0.0, < 7.0.97.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

What to do

Update to a fixed version: 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.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.5% chance of exploitation in 30 days (percentile 47), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
  4. Rounded to one decimal between 0.1 and 103.4

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 3.4 (cvss fallback)

Weakness

No weakness type given.

References

Get alerts for Spring Security

Free email or text alerts when a vulnerability in Spring Security reaches risk 8 or higher. Nothing else.