All reports
High

Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS)

Affected versions

Affected versions
>= 6.5.0, <= 6.5.10
Fixed version
6.5.11
Affected versions
>= 7.0.0, <= 7.0.5
Fixed version
7.0.6
Affected versions
<= 5.7.23
Fixed version
Not reported
Affected versions
>= 6.4.0, <= 6.4.16
Fixed version
Not reported
Affected versions
>= 5.8.0, <= 5.8.25
Fixed version
Not reported
Affected versions
>= 6.3.0, <= 6.3.16
Fixed version
Not reported

Exploitation

CVE-2026-40988

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-19

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.

Links