CVE-2026-40988
An application using spring-security-saml2-service-provider and the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- spring.io/security/cve-2026-40988
- nvd.nist.gov/vuln/detail/CVE-2026-40988
- github.com/spring-projects/spring-security/releases/tag/6.5.11
- github.com/spring-projects/spring-security/releases/tag/7.0.6
- github.com/advisories/GHSA-m69x-pw9p-7j3q
- nvd.nist.gov/vuln/detail/CVE-2026-40988
- cve.org/CVERecord?id=CVE-2026-40988
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.