CVE-2026-59331: falha de alta gravidade em Spring Security
Spring Security RSocket Basic Authentication Decoder Enables Denial of Service via Unbounded Allocation
Publicada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
41Vexday Risk Score
Sem sinal de exploração. Ela tem prova de conceito pública.
ssvc Attendcvss 7.5epss 0.5%
da publicação à armano mesmo dia
Publicada no NVD2 de dez.
1ª PoC15 de out.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Produtos afetados
Spring · Spring SecurityPoCs públicas encontradas — 1
githubgithub.com/daehyuh/CVE-2026-59331★ 1⚠ Recursos públicos, para você avaliar a exposição de sistemas que controla ou está autorizado a testar. Teste apenas com autorização.
CVEs relacionadas — Spring Security
No mesmo produto, das mais perigosas para as menos.
CVE-2019-3795LOWInsecure Randomness When Using a SecureRandom Instance Constructed by Spring SecurityEPSS 1.9%CVE-2019-11272—PlaintextPasswordEncoder authenticates encoded passwords that are nullEPSS 1.4%CVE-2026-59273MEDIUMSpring Security ELRequestMatcher allows Remote Code Execution via unrestricted SpEL evaluationEPSS 1.3%CVE-2024-22234HIGHCVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticatedEPSS 0.7%CVE-2025-41232CRITICALCVE-2025-41232: Spring Security authorization bypass for method security annotations on private methodsEPSS 0.6%CVE-2025-22228HIGHCVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password lengthEPSS 0.6%