CVE-2026-40988
HIGH 7.5CVSS 3.1Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS)
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.
- Published
- 10 Jun 2026
- Last modified
- 12 Aug 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-m69x-pw9p-7j3q
- Sources
- NVDJSONOSV GHSA-m69x-pw9p-7j3qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.7.0, < 5.7.24 | 5.7.24 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.8.0, < 5.8.26 | 5.8.26 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.3.0, < 6.3.17 | 6.3.17 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.4.0, < 6.4.17 | 6.4.17 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.5.0, < 6.5.10.2 | 6.5.10.2 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.5.1 | 7.0.5.1 |
| OSV | Maven | org.springframework.security:spring-security-saml2-service-provider | >= 7.0.0, < 7.0.6 | 7.0.6 |
| OSV | Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.5.0, < 6.5.11 | 6.5.11 |
| OSV | Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.4.0, <= 6.4.16 | |
| OSV | Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.3.0, <= 6.3.16 | |
| OSV | Maven | org.springframework.security:spring-security-saml2-service-provider | >= 5.8.0, <= 5.8.25 | |
| OSV | Maven | org.springframework.security:spring-security-saml2-service-provider | <= 5.7.23 |
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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Jun 2026)