Skip to main content

Spring Security EUVDEUVD-2026-141021

| CVE-2026-59331 HIGH
2026-12-02 vmware
7.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to reachable RSocket endpoint
  2. Exploit
    Send crafted Basic Authentication frame
  3. Execution
    Oversized length field sizes huge allocation
  4. Impact
    Server memory exhausted, denial of service

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target application to use Spring Security's RSocket support with an AuthenticationPayloadInterceptor whose authentication converter has NOT been overridden, leaving BasicAuthenticationPayloadExchangeConverter as the default - for example the deprecated RSocketSecurity#basicAuthentication configuration - AND the RSocket endpoint must be network-reachable by the attacker. No authentication is required (PR:N) and no user interaction is needed; a single crafted frame suffices. Limiting factors: this is not a default configuration for typical Spring applications - only deployments that explicitly enable RSocket security with the default basic-authentication converter are affected, so applications that do not use RSocket, or that override the authentication converter, are not exposed.

Impact

All signals converge on a genuine but bounded availability risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) indicates a network-reachable, low-complexity, unauthenticated attack with pure availability impact and no confidentiality or integrity loss, which is consistent with the description's memory-exhaustion denial of service. No EPSS score, KEV listing, or verified exploit code was supplied, so there is no evidence of active exploitation - this is not a drop-everything emergency. The vendor-assigned priority is 'this_week' and a patch is available, which fits a serious DoS that is easy to trigger but limited to availability. The key caveat is exposure-dependent: the flaw only applies to applications that actually enable Spring Security's RSocket support with the default BasicAuthenticationPayloadExchangeConverter (e.g. the deprecated RSocketSecurity#basicAuthentication), a non-default and relatively uncommon configuration, so real-world impact is far narrower than the broad Spring Security install base would suggest. CWE is unassigned in the input but the described behavior (an attacker-controlled length field used to size an allocation without validation) is a classic unchecked-allocation / uncontrolled resource consumption pattern.

Exploit ScenarioDerived

An unauthenticated attacker who can reach an exposed RSocket endpoint opens a connection and sends a single crafted non-standard Basic Authentication metadata frame whose length field specifies an extremely large value. The server reads that length and attempts a correspondingly huge memory allocation, exhausting available memory and causing a denial of service. No public exploit code was identified in the provided sources; the herodevs reference is an advisory, not verified working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Memory-exhaustion denial of service in Spring Security's RSocket support, where the default BasicAuthenticationPayloadExchangeConverter sizes a memory allocation directly from an attacker-supplied length field in a crafted Basic Authentication metadata frame, so a single frame can force an extremely large allocation and exhaust server memory. Only applications that enable RSocket security with an AuthenticationPayloadInterceptor whose authentication converter has not been overridden are exposed - for example deployments using the deprecated RSocketSecurity#basicAuthentication configuration - and the RSocket endpoint must be reachable by the attacker; applications without RSocket, or with a custom converter, are not affected. No authentication (PR:N) or user interaction is required, the impact is availability-only (C:N/I:N/A:H, CVSS 7.5), no KEV listing applies and no public exploit code was identified at time of analysis, so all signals converge on a genuine but bounded availability risk.

RemediationAI

A vendor patch is available per the Spring advisory (https://spring.io/security/cve-2026-59331); upgrade to the fixed release for your branch, which the EUVD record lists as the end of each affected range: 7.1.3 (or 7.1.2.1), 7.0.9 (or 7.0.8.1), 6.5.13, 6.4.20, 5.8.29, and 5.7.27 - confirm the exact target version against the vendor advisory before upgrading. As a compensating control where an immediate upgrade is not possible, override the AuthenticationPayloadInterceptor's authentication converter so that BasicAuthenticationPayloadExchangeConverter is no longer in effect (this disables the non-standard Basic Authentication frame path and requires clients to use an alternative authentication mechanism), and migrate off the deprecated RSocketSecurity#basicAuthentication configuration; additionally, restrict network reachability of the RSocket endpoint to trusted clients, which reduces but does not eliminate exposure since any peer that can open a connection can send the crafted frame. Note that the vendor's complete fix is the version upgrade.

Affected VersionsENISA

Spring Security 7.1.0 <7.1.3
Spring Security 7.0.0 <7.0.9
Spring Security 5.7.0 <5.7.27
Spring Security 6.5.0 <6.5.13
Spring Security 7.0.0 <7.0.8.1
Spring Security 6.0.0 <6.4.20
Spring Security 5.8.0 <5.8.29
Spring Security 7.1.0 <7.1.2.1

Affected Packages

euvd spring_security fix: 5.7.27, 5.8.29, 6.4.20, 6.5.13, 7.0.8.1, 7.0.9, 7.1.2.1, 7.1.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Security's RSocket integration decodes authentication credentials from frame metadata; BasicAuthenticationPayloadExchangeConverter implements a non-standard 'Basic Authentication' frame that carries username and password as length-prefixed fields in the RSocket metadata payload. The decoder read the 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, so the frame's own declared length - not the bytes actually present - drove the allocation. Because RSocket metadata arrives before authentication completes, an unauthenticated peer that can open a connection can reach this parsing path. The flaw class is an unvalidated length field leading to an oversized allocation; no CWE identifier was supplied with the CVE record, and the sources do not describe any additional trigger condition beyond sending a single crafted authentication frame. Exposure is configuration-dependent: the vulnerable converter is the default only when an AuthenticationPayloadInterceptor is present and its authentication converter has not been overridden, such as with the deprecated RSocketSecurity#basicAuthentication configuration, per the vendor advisory at spring.io/security/cve-2026-59331.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated attacker sends one crafted frame over the network (AV:N/AC:L/PR:N/UI:N) causing memory exhaustion with availability-only impact (C:N/I:N/A:H, scope unchanged).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 08:01 EUVD
CVE Published
Dec 02, 2026 - 07:09 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-59331 is a high-severity memory-exhaustion flaw in Spring Security's RSocket support that allows an unauthenticated attacker to crash a server by sending a single malicious frame, causing a denial of service. Organizations using RSocket with default security settings are affected, and while there is no evidence of active exploitation, the low attack complexity and potential for service disruption warrant prompt remediation to protect system availability.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
High
Spring Security widely deployed in enterprise Java; vulnerable RSocket basic-auth feature niche
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-59367 CRITICAL POC
9.4 Dec 02

EmbeddedLdapServer in the spring-ldap-test artifact, Spring LDAP's test fixture, listens on every network interface of i

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy