Home / Spring / Spring Security / CVE-2026-59331
CVE-2026-59331: is it exploited, and which versions of Spring Security are affected and fixed?
CVE-2026-59331 is a vulnerability in Spring Security. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: Spring Security from 7.1.0 before 7.1.2.1, Spring Security from 7.0.0 before 7.0.8.1, Spring Security from 6.5.0 before 6.5.13 and 5 more (CVE record by vmware). Fixed in 7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20 and 2 more (CVE record by vmware). Severity: High (7.5, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record December 2, 2026, 07:29 UTC and NVD December 2, 2026, 20:13 UTC.
What is CVE-2026-59331?
Spring Security RSocket Basic Authentication Decoder Enables Denial of Service via Unbounded Allocation
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.
From the CVE record by vmware, last updated December 2, 2026, 07:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring Security | from 7.1.0 before 7.1.2.1 from 7.0.0 before 7.0.8.1 from 6.5.0 before 6.5.13 from 6.0.0 before 6.4.20 from 5.8.0 before 5.8.29 from 5.7.0 before 5.7.27 from 7.1.0 before 7.1.3 from 7.0.0 before 7.0.9 | 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 |
As the CVE record by vmware states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-59331?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59331 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.54% probability of exploitation activity in the next 30 days, percentile 47.0 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://spring.io/security/cve-2026-59331
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&version=3.1
Who found and reported it?
- This vulnerability was discovered and responsibly reported by h1ei1 and Daehyun Kang . (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 4, 2026
- Published
- December 2, 2026, 07:09 UTC
- CVE record updated
- December 2, 2026, 07:09 UTC by vmware
- NVD
- Awaiting Analysis, last modified December 2, 2026, 19:26 UTC
- Last checked
- CVE list December 2, 2026, 07:29 UTC; NVD December 2, 2026, 20:13 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Security?
- Dec 2, 2026CVE-2026-59400 Spring Security
- Dec 2, 2026CVE-2026-59333 Spring Security
- Dec 2, 2026CVE-2026-59330 Spring Security
- Dec 2, 2026CVE-2026-59329 Spring Security
- Dec 2, 2026CVE-2026-59273 Spring Security: improper Neutralization of Special Elements used in an Expression Language Statement
- Aug 27, 2026CVE-2026-59277 Spring Security: protection mechanism failure
- Aug 27, 2026CVE-2026-59276 Spring Security: timing side channel
- Aug 27, 2026CVE-2026-59270 Spring Security: hard-coded credentials
Questions about CVE-2026-59331
Is CVE-2026-59331 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Security are affected by CVE-2026-59331?
Spring Security from 7.1.0 before 7.1.2.1, Spring Security from 7.0.0 before 7.0.8.1, Spring Security from 6.5.0 before 6.5.13, Spring Security from 6.0.0 before 6.4.20, Spring Security from 5.8.0 before 5.8.29, Spring Security from 5.7.0 before 5.7.27 and 2 more, per the CVE record by vmware. The tables above give every range the sources list.
Which version fixes CVE-2026-59331?
7.1.2.1, 7.0.8.1, 6.5.13, 6.4.20, 5.8.29 and 5.7.27, per the CVE record by vmware. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59331?
High (7.5, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59331?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.