CVE-2026-40988
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.
How to fix
- vmware spring_security5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.10.2, 7.0.5.1 or later
- org.springframework.security:spring-security-saml2-service-provider7.0.6, 6.5.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vmware spring_security | 5.7.0 ≤ v < 5.7.24, 5.8.0 ≤ v < 5.8.26, 6.3.0 ≤ v < 6.3.17, 6.4.0 ≤ v < 6.4.17, 6.5.0 ≤ v < 6.5.10.2, 7.0.0 ≤ v < 7.0.5.1 | 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.10.2, 7.0.5.1 |
| org.springframework.security:spring-security-saml2-service-providerMaven | 7.0.0 ≤ v < 7.0.6, 6.5.0 ≤ v < 6.5.11, 6.4.0 ≤ v ≤ 6.4.16, 6.3.0 ≤ v ≤ 6.3.16, 5.8.0 ≤ v ≤ 5.8.25, v ≤ 5.7.23 | 7.0.6, 6.5.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.