Resource exhaustion in Spring Security - CVE-2026-40988

 

Resource exhaustion in Spring Security - CVE-2026-40988

Published: August 28, 2026


Vulnerability identifier: #VU146180
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40988
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled memory allocation in SAML 2.0 service provider redirect binding processing when inflating a compressed SAML payload into memory. A remote attacker can send a specially crafted compressed SAML payload to cause a denial of service.

The issue affects applications using the REDIRECT binding for SAML 2.0 Login or Logout.


Affected software

Spring Security

How to mitigate CVE-2026-40988

Install security update from vendor's website.

Spring Security - addressed in versions 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.11, 7.0.6

External References

Related Security Bulletins