High

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

  • Disclosed: 10.06.2026
  • Updated: 11.10.2026 12:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework.security:spring-security-saml2-service-provider >= 7.0.0, < 7.0.6, >= 6.5.0, < 6.5.11, >= 6.4.0, <= 6.4.16, >= 6.3.0, <= 6.3.16, >= 5.8.0, <= 5.8.25, <= 5.7.23 7.0.6, 6.5.11

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400
Platform
Java / Kotlin (Maven)
Package
org.springframework.security:spring-security-saml2-service-provider
Disclosed
10.06.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-m69x-pw9p-7j3q - CC BY 4.0

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

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
06.2026 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 3
  • Low 1

Disclosures per year

  1. 2026: 4
  1. High · 7.6 CVE-2026-41003 >= 7.0.0, < 7.0.6, >= 6.5.0, < 6.5.11, >= 6.4.0, <= 6.4.16, >= 6.3.0, <= 6.3.16, >= 5.8.0, <= 5.8.25, <= 5.7.23 7.0.6, 6.5.11
  2. Low · 3.7 CVE-2026-41694 >= 7.0.0, < 7.0.6, >= 6.5.0, < 6.5.11, >= 6.4.0, <= 6.4.16, >= 6.3.0, <= 6.3.16, >= 5.8.0, <= 5.8.25, <= 5.7.23 7.0.6, 6.5.11
  3. Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS) this entry
    High · 7.5 CVE-2026-40988 >= 7.0.0, < 7.0.6, >= 6.5.0, < 6.5.11, >= 6.4.0, <= 6.4.16, >= 6.3.0, <= 6.3.16, >= 5.8.0, <= 5.8.25, <= 5.7.23 7.0.6, 6.5.11

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.