CVE-2026-40988 Details
Description
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.
A denial-of-service vulnerability has been identified in applications using spring-security-saml2-service-provider with the REDIRECT binding for SAML 2.0 Login or Logout. The issue arises from an unbounded writer that inflates compressed SAML payloads into memory, potentially leading to resource exhaustion. This vulnerability affects several versions of Spring Security, including 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. Older, unsupported versions are also affected.
Users of affected versions should upgrade to the corresponding fixed version. For versions 5.7.x, 5.8.x, 6.3.x, 6.4.x, 6.5.x, and 7.0.x, the fixed versions are available through the Spring Enterprise Support. Note that for SAML Login, it is also recommended to disallow SAML Responses in GET requests by using OpenSaml5AuthenticationTokenConverter#setShouldConvertGetRequests(false).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://spring.io/security/cve-2026-40988 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vmware spring security | >= 5.7.0, < 5.7.24 >= 5.8.0, < 5.8.26 >= 6.3.0, < 6.3.17 >= 6.4.0, < 6.4.17 >= 6.5.0, < 6.5.10.2 >= 7.0.0, < 7.0.5.1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 17, 2026 | Modified Analysis | [email protected] |
| Jun 27, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 12, 2026 | Initial Analysis | [email protected] |
| Jun 10, 2026 | New CVE Received | [email protected] |