# CVE-2026-40988: Unbounded DEFLATE Inflation in SAML 2.0 Service Provider

- Severity: High 7.5 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-06-09T23:46:15.589Z
- Modified: 2026-08-12T15:56:00.742Z
- Also known as: GHSA-m69x-pw9p-7j3q
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Spring Security: from 5.7.0 before 5.7.24; from 5.8.0 before 5.8.26; from 6.3.0 before 6.3.17; from 6.4.0 before 6.4.17; from 6.5.0 before 6.5.10.2; from 7.0.0 before 7.0.5.1
- org.springframework.security:spring-security-saml2-service-provider (Maven): from 7.0.0 before 7.0.6; from 6.5.0 before 6.5.11; from 6.4.0 up to 6.4.16; from 6.3.0 up to 6.3.16; from 5.8.0 up to 5.8.25; up to 5.7.23
- vmware spring_security: from 5.7.0 before 5.7.24; from 5.8.0 before 5.8.26; from 6.3.0 before 6.3.17; from 6.4.0 before 6.4.17; from 6.5.0 before 6.5.10.2; from 7.0.0 before 7.0.5.1

## Every score

- vmware: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://spring.io/security/cve-2026-40988> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40988> (advisory)
- <https://github.com/spring-projects/spring-security> (package)
- <https://github.com/spring-projects/spring-security/releases/tag/6.5.11> (web)
- <https://github.com/spring-projects/spring-security/releases/tag/7.0.6> (web)

## Sources

- CVE List: [CVE-2026-40988](https://www.cve.org/CVERecord?id=CVE-2026-40988), CVE Terms of Use, modified 2026-06-27
- GitHub Advisory Database: [GHSA-m69x-pw9p-7j3q](https://github.com/advisories/GHSA-m69x-pw9p-7j3q), CC-BY-4.0, modified 2026-08-12
- NVD: [CVE-2026-40988](https://nvd.nist.gov/vuln/detail/CVE-2026-40988), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-40988 · Whole record: https://cve.day/CVE-2026-40988.json · Rebuilt by cve.day 2026-11-25T22:59:24.285Z
