Home / Spring / Spring Security / CVE-2026-40988
CVE-2026-40988: is it exploited, and which versions of Spring Security are affected and fixed?
CVE-2026-40988 is a denial of service (uncontrolled resource consumption) vulnerability in Spring Security. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: org.springframework.security:spring-security-saml2-service-provider from 7.0.0 before 7.0.6, org.springframework.security:spring-security-saml2-service-provider from 6.5.0 before 6.5.11, org.springframework.security:spring-security-saml2-service-provider through 6.4.16 and 3 more (GitHub advisory GHSA-m69x-pw9p-7j3q). Fixed in 7.0.6 and 6.5.11 (GitHub advisory GHSA-m69x-pw9p-7j3q). Severity: High (7.5, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-40988?
Unbounded DEFLATE Inflation in SAML 2.0 Service Provider
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.
From the CVE record by vmware, last updated June 27, 2026, 21:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 | 5.7.24, 5.8.26, 6.3.17, 6.4.17, 6.5.10.2, 7.0.5.1 |
As the CVE record by vmware states it, last updated June 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 7.0.0, < 7.0.6 | 7.0.6 | GHSA-m69x-pw9p-7j3q |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.5.0, < 6.5.11 | 6.5.11 | GHSA-m69x-pw9p-7j3q |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.4.0, <= 6.4.16 | none listed | GHSA-m69x-pw9p-7j3q |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.3.0, <= 6.3.16 | none listed | GHSA-m69x-pw9p-7j3q |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 5.8.0, <= 5.8.25 | none listed | GHSA-m69x-pw9p-7j3q |
| Maven | org.springframework.security:spring-security-saml2-service-provider | <= 5.7.23 | none listed | GHSA-m69x-pw9p-7j3q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 12, 2026. Summary: Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS).
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring security | from 5.7.0 before 5.7.24 | application |
| vmware | spring security | from 5.8.0 before 5.8.26 | application |
| vmware | spring security | from 6.3.0 before 6.3.17 | application |
| vmware | spring security | from 6.4.0 before 6.4.17 | application |
| vmware | spring security | from 6.5.0 before 6.5.10.2 | application |
| vmware | spring security | from 7.0.0 before 7.0.5.1 | application |
NVD analysis (status Analyzed), last modified July 23, 2026, 09:10 UTC.
How severe is CVE-2026-40988?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40988 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, June 10, 2026)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- April 16, 2026
- Published
- June 9, 2026, 23:46 UTC
- CVE record updated
- June 27, 2026, 21:22 UTC by vmware
- NVD
- Analyzed, last modified July 23, 2026, 09:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Security?
- Dec 2, 2026CVE-2026-59400 Spring Security
- Dec 2, 2026CVE-2026-59333 Spring Security
- Dec 2, 2026CVE-2026-59331 Spring Security
- Dec 2, 2026CVE-2026-59330 Spring Security
- Dec 2, 2026CVE-2026-59329 Spring Security
- Dec 2, 2026CVE-2026-59273 Spring Security: improper Neutralization of Special Elements used in an Expression Language Statement
- Aug 27, 2026CVE-2026-59277 Spring Security: protection mechanism failure
- Aug 27, 2026CVE-2026-59276 Spring Security: timing side channel
Questions about CVE-2026-40988
Is CVE-2026-40988 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Security are affected by CVE-2026-40988?
org.springframework.security:spring-security-saml2-service-provider from 7.0.0 before 7.0.6, org.springframework.security:spring-security-saml2-service-provider from 6.5.0 before 6.5.11, org.springframework.security:spring-security-saml2-service-provider through 6.4.16, org.springframework.security:spring-security-saml2-service-provider through 6.3.16, org.springframework.security:spring-security-saml2-service-provider through 5.8.25 and org.springframework.security:spring-security-saml2-service-provider through 5.7.23, per the GitHub advisory GHSA-m69x-pw9p-7j3q. The tables above give every range the sources list.
Which version fixes CVE-2026-40988?
7.0.6 and 6.5.11, per the GitHub advisory GHSA-m69x-pw9p-7j3q. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40988?
High (7.5, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40988?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.