GHSA-m69x-pw9p-7j3q

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

At a glance

Published
Updated
CVE
CVE-2026-40988
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Affected packages

PackageVersions
Maven · org.springframework.security:spring-security-saml2-service-providerintroduced 7.0.0, fixed 7.0.6
Maven · org.springframework.security:spring-security-saml2-service-providerintroduced 6.5.0, fixed 6.5.11
Maven · org.springframework.security:spring-security-saml2-service-providerintroduced 6.4.0, last affected 6.4.16
Maven · org.springframework.security:spring-security-saml2-service-providerintroduced 6.3.0, last affected 6.3.16
Maven · org.springframework.security:spring-security-saml2-service-providerintroduced 5.8.0, last affected 5.8.25
Maven · org.springframework.security:spring-security-saml2-service-providerintroduced 0, last affected 5.7.23

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database