Skip to main content

Spring Security EUVDEUVD-2026-35883

| CVE-2026-40988 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-06-10 security@vmware.com GHSA-m69x-pw9p-7j3q
7.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Identify SAML SP endpoint over REDIRECT
  2. Delivery
    Craft compressed SAML decompression bomb
  3. Exploit
    Submit as SAMLRequest query parameter
  4. Execution
    Trigger unbounded inflater in Spring filter
  5. Persist
    Exhaust JVM heap memory
  6. Impact
    Application becomes unresponsive

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must include the spring-security-saml2-service-provider dependency and have SAML 2.0 Login or Logout configured to use the REDIRECT binding, with the SAML endpoints reachable by the attacker (typically internet-exposed for federated SSO). No authentication, user interaction, or special client posture is required (CVSS PR:N/UI:N/AC:L). Exploitation is limited to applications that have actively enabled SAML SP functionality - Spring Security deployments that do not use this module or use only the POST binding are not exposed via this code path; impact is restricted to availability of the affected JVM and does not yield code execution or data disclosure.

Impact

The CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) describes a high-impact availability attack reachable over the network with no authentication, no user interaction, and low complexity - a strong signal for prioritization in any internet-exposed SAML deployment. EPSS and CISA KEV data were not provided in the intelligence feed, and no public exploit identified at time of analysis, so real-world exploitation pressure is currently undetermined; however, decompression-bomb attacks are trivial to construct and similar SAML inflation flaws (e.g., CVE-2023-44487-adjacent patterns) have been weaponized quickly. Confidentiality and integrity are unaffected, so this is a pure availability concern - significant for SSO-dependent applications where SAML downtime cascades to login outages, but not a data-breach scenario. Note that only one reference (the Spring advisory) was supplied; vendor advisory linkage is the sole confirming source.

Exploit ScenarioDerived

An attacker crafts a SAML 2.0 message containing highly compressible padding (e.g., a long run of identical bytes that DEFLATE reduces to a few hundred bytes), base64-encodes it, and submits it as the SAMLRequest query parameter to the target's SAML SSO or SLO endpoint over the REDIRECT binding. The Spring Security filter inflates the payload into JVM heap without a size cap, and a small number of concurrent requests exhausts memory, triggering OutOfMemoryError and taking the SSO-protected application offline. No authentication or user interaction is required, and the request can be replayed from any source - there is no public PoC at time of analysis, but the technique is well-known.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 10, 2026

Denial of service in Spring Security's SAML 2.0 service provider module allows remote unauthenticated attackers to exhaust application memory by submitting a maliciously compressed SAML payload over the REDIRECT binding. The flaw stems from an unbounded inflater that decompresses attacker-controlled data without size limits, enabling a classic decompression-bomb attack against any Spring application using SAML Login or Logout. No public exploit identified at time of analysis, but the network-reachable, no-authentication CVSS profile (7.5 High) makes this a near-term patching priority for SAML-enabled deployments.

RemediationAI

Patch available per vendor advisory at https://spring.io/security/cve-2026-40988 - upgrade to the next patched maintenance release in each affected branch (5.7.24+, 5.8.26+, 6.3.17+, 6.4.17+, 6.5.11+, 7.0.6+ as released by VMware/Broadcom; verify exact fix version against the Spring advisory before deployment). If immediate upgrade is not feasible, switch SAML 2.0 Login and Logout flows to the POST binding instead of REDIRECT, which removes the vulnerable decompression code path at the cost of breaking IdP relationships configured for REDIRECT only and requiring IdP-side reconfiguration. As a network-layer compensating control, place a WAF or reverse proxy in front of the SAML endpoints (typically /login/saml2/sso/* and /logout/saml2/slo) and enforce a strict maximum length on the SAMLRequest and SAMLResponse query parameters - note this only limits compressed size, not the decompression ratio, so it reduces but does not eliminate risk.

Affected VersionsENISA

Spring Security 6.4.0 <6.4.17
Spring Security 5.7.0 <5.7.24
Spring Security 7.0.0 <7.0.6
Spring Security 5.8.0 <5.8.26
Spring Security 6.5.0 <6.5.11
Spring Security 6.3.0 <6.3.17

Affected Packages

maven org.springframework.security:spring-security-saml2-service-provider fix: 6.5.11, 7.0.6
euvd spring_security fix: 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.11, 7.0.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, 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 spring-security-saml2-service-provider module implements SAML 2.0 SP functionality for Java applications, supporting both POST and REDIRECT bindings. Under the REDIRECT binding, SAML messages are DEFLATE-compressed and base64-encoded in URL query parameters per the SAML 2.0 specification. The vulnerable code path inflates this compressed payload into memory without bounding the decompressed size, which maps to CWE-400 (Uncontrolled Resource Consumption). A small compressed payload can expand to gigabytes (a 'zip bomb' / 'decompression bomb' pattern), exhausting JVM heap and triggering OutOfMemoryError or sustained GC pressure that renders the service unresponsive.

Know when Spring Security 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

Primary rating from Vendor (vmware) · only source for this CVE.

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

1
Patch available
Jun 10, 2026 - 02:01 EUVD

DescriptionCVE.org

An application using spring-security-saml2-service-provider and the REDIRECT binding for SAML 2.0 Login or Logout may be vulnerable to a denial of service by way of an unbounded writer that inflates the compressed SAML payload into memory.

Affected versions: Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 maven packages depend on org.springframework.security:spring-security-saml2-service-provider (1 direct, 2 indirect)

Ecosystem-wide dependent count for version 7.0.0.

Executive ViewAI

Why It Matters

Spring Security's SAML 2.0 service provider module contains a denial-of-service vulnerability (CVE-2026-40988, CVSS 7.5) that allows remote unauthenticated attackers to exhaust application memory through decompression-bomb attacks on SAML authentication payloads. Organizations using Spring Security for SAML single sign-on face immediate risk to authentication service availability, affecting all downstream application access. No vendor-released patch identified at time of analysis, making interim network controls critical for affected deployments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce strict SAML payload size limits (1-5 MB maximum) at load balancer or WAF; implement per-IP rate limiting on SAML authentication endpoints to constrain attack volume; enable application JVM memory and garbage collection monitoring with alerts for abnormal decompression resource consumption; configure SAML service timeouts for slow or malformed requests; document rollback procedures for emergency Spring Security version downgrades if exploitation is observed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA VulDB

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 0.0%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

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.

CVE-2014-3527 CRITICAL
9.8 May 25

When using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick ano

CVE-2023-34034 CRITICAL
9.8 Jul 19

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spri

CVE-2022-31692 CRITICAL
9.8 Oct 31

Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass v

CVE-2022-22978 CRITICAL
9.8 May 19

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can ea

CVE-2026-22752 CRITICAL
9.6 Jul 16

Authentication bypass in VMware/Spring's Spring Authorization Server (versions 7.0.0-7.0.4, 1.5.0-1.5.6, 1.4.0-1.4.9, an

CVE-2023-34035 MEDIUM POC
5.3 Jul 18

Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authoriz

CVE-2018-1258 HIGH
8.8 May 11

Spring Framework version 5.0.5 when used in combination with any versions of Spring Security contains an authorization b

CVE-2026-111235 CRITICAL
9.1 Oct 15

Unauthenticated authorization bypass in the OpenNMS Meridian and Horizon REST API lets any remote attacker who can reach

CVE-2026-59270 CRITICAL
9.1 Aug 27

Improper authorization in Spring Security's embedded UnboundID test LDAP server (UnboundIdContainer) exposes an administ

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

CVE-2021-22112 HIGH
8.8 Feb 23

Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported

CVE-2020-5407 HIGH
8.8 May 13

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 contain a signature wrapping vulnerability during

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