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.
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "5.7.0"
},
{
"fixed": "5.7.24"
},
{
"introduced": "5.8.0"
},
{
"fixed": "5.8.26"
},
{
"introduced": "6.3.0"
},
{
"fixed": "6.3.17"
},
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.17"
},
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.10.2"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.5.1"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"introduced": "5.7.0"
},
{
"fixed": "5.7.23"
},
{
"introduced": "5.8.0"
},
{
"fixed": "5.8.25"
},
{
"introduced": "6.3.0"
},
{
"fixed": "6.3.16"
},
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.16"
},
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.10"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.5"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40988.json",
"cna_assigner": "vmware",
"cwe_ids": [
"CWE-400"
]
}