CVE Vulnerabilities

CVE-2026-40988

Uncontrolled Resource Consumption

Published: Jun 10, 2026 | Modified: Jul 17, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
Spring_securityVmware5.7.0 (including)5.7.24 (excluding)
Spring_securityVmware5.8.0 (including)5.8.26 (excluding)
Spring_securityVmware6.3.0 (including)6.3.17 (excluding)
Spring_securityVmware6.4.0 (including)6.4.17 (excluding)
Spring_securityVmware6.5.0 (including)6.5.10.2 (excluding)
Spring_securityVmware7.0.0 (including)7.0.5.1 (excluding)

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References