CVE-2026-40988

published 9 Jun 2026 · updated 27 Jun 2026

Unbounded DEFLATE Inflation in SAML 2.0 Service Provider

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.7.24, 5.8.26, 6.3.17 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=5.7.0 <5.7.24, >=5.8.0 <5.8.26, >=6.3.0 <6.3.17, >=6.4.0 <6.4.17, >=6.5.0 <6.5.10.2, >=7.0.0 <7.0.5.15.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.10.2, 7.0.5.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40988 severity on Zeptric[![CVE-2026-40988](https://zeptric.io/badge/cve/CVE-2026-40988.svg)](https://zeptric.io/cve/CVE-2026-40988)