GitHub Advisoryadvisory · Maven

GHSA-m69x-pw9p-7j3q Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS)

HIGH Published 2026-06-10 Modified 2026-08-12 Official page ↗
Aliases
CVE-2026-40988
Ecosystem
Maven
Packages
org.springframework.security:spring-security-saml2-service-provider
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2026-08-12

Affected packages

• Maven org.springframework.security:spring-security-saml2-service-provider: >= 7.0.0, < 7.0.6 → fixed in 7.0.6 • Maven org.springframework.security:spring-security-saml2-service-provider: >= 6.5.0, < 6.5.11 → fixed in 6.5.11 • Maven org.springframework.security:spring-security-saml2-service-provider: >= 6.4.0, <= 6.4.16 (no fix yet) • Maven org.springframework.security:spring-security-saml2-service-provider: >= 6.3.0, <= 6.3.16 (no fix yet) • Maven org.springframework.security:spring-security-saml2-service-provider: >= 5.8.0, <= 5.8.25 (no fix yet) • Maven org.springframework.security:spring-security-saml2-service-provider: <= 5.7.23 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2026-40988 An application using spring-security-saml2-service-provider and the REDIRECT binding for SAML 2.0 Login or Logout may be vulnerable to a… vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References