Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify SAML SP endpoint over REDIRECT
-
DeliveryCraft compressed SAML decompression bomb
-
ExploitSubmit as SAMLRequest query parameter
-
ExecutionTrigger unbounded inflater in Spring filter
-
PersistExhaust JVM heap memory
-
ImpactApplication 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
1DescriptionCVE.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- 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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in Spring Security Auth and Injection Flaws
View all 6More in Spring Security
View allWhen using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick ano
Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spri
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
In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can ea
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
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
Spring Framework version 5.0.5 when used in combination with any versions of Spring Security contains an authorization b
Unauthenticated authorization bypass in the OpenNMS Meridian and Horizon REST API lets any remote attacker who can reach
Improper authorization in Spring Security's embedded UnboundID test LDAP server (UnboundIdContainer) exposes an administ
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
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
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
EUVD-2026-35883
GHSA-m69x-pw9p-7j3q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB