CVE-2026-40988
Description
Spring Security SAML 2.0 provider is vulnerable to denial of service via unbounded DEFLATE inflation of SAML payloads.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Spring Security SAML 2.0 provider is vulnerable to denial of service via unbounded DEFLATE inflation of SAML payloads.
Vulnerability
An application using spring-security-saml2-service-provider with the REDIRECT binding for SAML 2.0 Login or Logout is vulnerable to a denial of service. This vulnerability arises from an unbounded writer that inflates a compressed SAML payload into memory. Affected versions include 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, and 7.0.0 through 7.0.5 [1].
Exploitation
An attacker can exploit this vulnerability by sending a crafted, compressed SAML message that, when decompressed, consumes excessive memory. This attack does not require authentication or network access beyond the ability to send a SAML request to the vulnerable service provider. The attacker needs to trigger the SAML 2.0 Login or Logout process with a malicious payload [1].
Impact
Successful exploitation of this vulnerability can lead to a denial of service (DoS) condition. The unbounded inflation of the SAML payload can exhaust system resources, causing the application to become unresponsive or crash. This impacts the availability of the application for all users [1].
Mitigation
This vulnerability has been fixed in subsequent releases of Spring Security. Users should update to a patched version. Specific fixed versions are detailed in the advisory [1]. No workarounds are mentioned in the available references. The advisory does not indicate if the vulnerability is listed on the Known Exploited Vulnerabilities (KEV) catalog or if the affected versions are end-of-life (EOL) [1].
AI Insight generated on Jun 10, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: 5.7.0 - 5.7.23, 5.8.0 - 5.8.25, 6.3.0 - 6.3.16, 6.4.0 - 6.4.16, 6.5.0 - 6.5.10, 7.0.0 - 7.0.5
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
1News mentions
1- Spring Projects: 25 Vulnerabilities Disclosed, Including SpEL Injection and Deserialization FlawsVypr Intelligence · Jun 10, 2026