Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 74%

CVE-2026-40988: CWE-400: Uncontrolled Resource Consumption in Spring Spring Security

0
High
VulnerabilityCVE-2026-40988cvecve-2026-40988cwe-400
Published: 06/09/2026 (06/09/2026, 23:46:15 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

org.springframework.security/spring-security-core
pkg:maven/org.springframework.security/spring-security-core
Affected versions
=5.7.0=5.7.24=5.8.0=5.8.26=6.3.0=6.3.17=6.4.0=6.4.17=6.5.0=6.5.11=7.0.0=7.0.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/28/2026, 20:59:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses