Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (vmware) · only source for this CVE.
CVSS VectorVendor: vmware
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
2Blast Radius
ecosystem impact- 3 maven packages depend on org.springframework.security:spring-security-saml2-service-provider (1 direct, 2 indirect)
Ecosystem-wide dependent count for version 7.0.0.
DescriptionCVE.org
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.
AnalysisAI
Denial of service in Spring Security's SAML 2.0 service provider module allows remote unauthenticated attackers to exhaust application memory by submitting a maliciously compressed SAML payload over the REDIRECT binding. The flaw stems from an unbounded inflater that decompresses attacker-controlled data without size limits, enabling a classic decompression-bomb attack against any Spring application using SAML Login or Logout. No public exploit identified at time of analysis, but the network-reachable, no-authentication CVSS profile (7.5 High) makes this a near-term patching priority for SAML-enabled deployments.
Technical ContextAI
Spring Security's spring-security-saml2-service-provider module implements SAML 2.0 SP functionality for Java applications, supporting both POST and REDIRECT bindings. Under the REDIRECT binding, SAML messages are DEFLATE-compressed and base64-encoded in URL query parameters per the SAML 2.0 specification. The vulnerable code path inflates this compressed payload into memory without bounding the decompressed size, which maps to CWE-400 (Uncontrolled Resource Consumption). A small compressed payload can expand to gigabytes (a 'zip bomb' / 'decompression bomb' pattern), exhausting JVM heap and triggering OutOfMemoryError or sustained GC pressure that renders the service unresponsive.
RemediationAI
Patch available per vendor advisory at https://spring.io/security/cve-2026-40988 - upgrade to the next patched maintenance release in each affected branch (5.7.24+, 5.8.26+, 6.3.17+, 6.4.17+, 6.5.11+, 7.0.6+ as released by VMware/Broadcom; verify exact fix version against the Spring advisory before deployment). If immediate upgrade is not feasible, switch SAML 2.0 Login and Logout flows to the POST binding instead of REDIRECT, which removes the vulnerable decompression code path at the cost of breaking IdP relationships configured for REDIRECT only and requiring IdP-side reconfiguration. As a network-layer compensating control, place a WAF or reverse proxy in front of the SAML endpoints (typically /login/saml2/sso/* and /logout/saml2/slo) and enforce a strict maximum length on the SAMLRequest and SAMLResponse query parameters - note this only limits compressed size, not the decompression ratio, so it reduces but does not eliminate risk.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35883
GHSA-m69x-pw9p-7j3q