NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

highCVSS 3.1 7.5GHSA-m69x-pw9p-7j3q

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.

Published Jun 10, 2026 · Updated Aug 12, 2026

Affected packages

org.springframework.security:spring-security-saml2-service-provider

Ecosystem
Maven
Affected
>= 7.0.0, <= 7.0.5
Fixed in
7.0.6
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider

org.springframework.security:spring-security-saml2-service-provider

Ecosystem
Maven
Affected
>= 6.5.0, <= 6.5.10
Fixed in
6.5.11
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider

org.springframework.security:spring-security-saml2-service-provider

Ecosystem
Maven
Affected
>= 6.4.0, <= 6.4.16
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider

org.springframework.security:spring-security-saml2-service-provider

Ecosystem
Maven
Affected
>= 6.3.0, <= 6.3.16
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider

org.springframework.security:spring-security-saml2-service-provider

Ecosystem
Maven
Affected
>= 5.8.0, <= 5.8.25
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider

org.springframework.security:spring-security-saml2-service-provider

Ecosystem
Maven
Affected
<= 5.7.23
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-saml2-service-provider

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries