Improper Handling of Highly Compressed Data (Data Amplification) Affecting org.springframework.security:spring-security-saml2-service-provider package, versions [,6.5.11)[7.0.0-M1,7.0.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-17315633
  • published12 Jun 2026
  • disclosed10 Jun 2026
  • creditUnknown

Introduced: 10 Jun 2026

CVE-2026-40988  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-saml2-service-provider to version 6.5.11, 7.0.6 or higher.

Overview

org.springframework.security:spring-security-saml2-service-provider is a security component for the Spring Framework.

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) in the REDIRECT binding. An attacker can exhaust system memory by submitting a specially crafted compressed SAML payload that, when inflated, consumes excessive resources.

CVSS Base Scores

version 4.0
version 3.1