CVE-2026-59331
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| spring | spring_security | {"startIncluding":"7.1.0","endExcluding":"7.1.2.1"} | 7.1.2.1 |
| spring | spring_security | {"startIncluding":"7.0.0","endExcluding":"7.0.8.1"} | 7.0.8.1 |
| spring | spring_security | {"startIncluding":"6.5.0","endExcluding":"6.5.13"} | 6.5.13 |
| spring | spring_security | {"startIncluding":"6.0.0","endExcluding":"6.4.20"} | 6.4.20 |
| spring | spring_security | {"startIncluding":"5.8.0","endExcluding":"5.8.29"} | 5.8.29 |
| spring | spring_security | {"startIncluding":"5.7.0","endExcluding":"5.7.27"} | 5.7.27 |
| spring | spring_security | {"startIncluding":"7.1.0","endExcluding":"7.1.3"} | 7.1.3 |
| spring | spring_security | {"startIncluding":"7.0.0","endExcluding":"7.0.9"} | 7.0.9 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.