CVE-2026-40988: An application using spring-security-saml2-service-provider and the REDIRECT binding for SAML 2.0 Login or Log
CVE-2026-40988 is a high-severity flaw (CVSS 7.5) affecting spring security. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 74%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| Published | 2026-06-10 |
| Last modified | 2026-07-23 |
Last updated 2026-07-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40988?
spring security: upgrade to 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.10.2, 7.0.5.1. Exact commands for each OS are on this page.
Is CVE-2026-40988 being exploited?
CVE-2026-40988 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40988 affect?
CVE-2026-40988 affects spring security. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2026-40988?
Priority 38/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-22754 HIGH 7.5 UPGRADE Vulnerability in Spring Spring Security
- CVE-2026-22753 HIGH 7.5 UPGRADE Vulnerability in Spring Spring Security
- CVE-2026-22747 MEDIUM 6.8 UPGRADE Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor does not correctly handle certain malfo
- CVE-2026-22746 LOW 3.7 UPGRADE Vulnerability in Spring Spring Security
- CVE-2026-22751 MEDIUM 4.8 UPGRADE Vulnerability in Spring Spring Security