CVE-2026-40988: CWE-400: Uncontrolled Resource Consumption in Spring Spring Security
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.
AI Analysis
Technical Summary
CVE-2026-40988 is an uncontrolled resource consumption vulnerability (CWE-400) in Spring Security's spring-security-saml2-service-provider module. When processing SAML 2.0 Login or Logout requests using the REDIRECT binding, the component may inflate compressed SAML payloads into memory without bounds, leading to potential denial of service conditions. Affected versions include 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. No official patch or remediation guidance is currently provided.
Potential Impact
Exploitation of this vulnerability can cause denial of service by exhausting system memory resources due to unbounded decompression of SAML payloads. This impacts availability but does not affect confidentiality or integrity. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider limiting exposure of the affected SAML REDIRECT binding endpoints or applying resource usage limits at the application or infrastructure level to mitigate potential denial of service.
CVE-2026-40988: CWE-400: Uncontrolled Resource Consumption in Spring Spring Security
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:maven/org.springframework.security/spring-security-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40988 is an uncontrolled resource consumption vulnerability (CWE-400) in Spring Security's spring-security-saml2-service-provider module. When processing SAML 2.0 Login or Logout requests using the REDIRECT binding, the component may inflate compressed SAML payloads into memory without bounds, leading to potential denial of service conditions. Affected versions include 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. No official patch or remediation guidance is currently provided.
Potential Impact
Exploitation of this vulnerability can cause denial of service by exhausting system memory resources due to unbounded decompression of SAML payloads. This impacts availability but does not affect confidentiality or integrity. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider limiting exposure of the affected SAML REDIRECT binding endpoints or applying resource usage limits at the application or infrastructure level to mitigate potential denial of service.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:09.389Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a28a8028dd33fbd8595ef54
Added to database: 06/09/2026, 23:55:46 UTC
Last enriched: 06/28/2026, 20:59:04 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 250
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.