Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-saml2-service-provider
  4. ›
  5. CVE-2026-40988

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

June 10, 2026 (updated August 12, 2026)

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

  • github.com/advisories/GHSA-m69x-pw9p-7j3q
  • github.com/spring-projects/spring-security/releases/tag/6.5.11
  • github.com/spring-projects/spring-security/releases/tag/7.0.6
  • nvd.nist.gov/vuln/detail/CVE-2026-40988
  • spring.io/security/cve-2026-40988

Code Behaviors & Features

Detect and mitigate CVE-2026-40988 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.7.23, all versions starting from 5.8.0 up to 5.8.25, all versions starting from 6.3.0 up to 6.3.16, all versions starting from 6.4.0 up to 6.4.16, all versions starting from 6.5.0 before 6.5.11, all versions starting from 7.0.0 before 7.0.6

Fixed versions

  • 6.5.11
  • 7.0.6

Solution

Upgrade to versions 6.5.11, 7.0.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/org.springframework.security/spring-security-saml2-service-provider/CVE-2026-40988.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:18:12 +0000.