Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Spring Spring Security
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Spring Security是Spring开源的一款具有认证和授权功能的安全框架。 Spring Security存在资源管理错误漏洞,该漏洞源于使用spring-security-saml2-service-provider和REDIRECT绑定时,无界写入器将压缩的SAML有效载荷膨胀到内存中,可能导致拒绝服务。以下版本受到影响:5.7.0至5.7.23版本、5.8.0至5.8.25版本、6.3.0至6.3.16版本、6.4.0至6.4.16版本、6.5.0至6.5.10版本和7.0.0至7.0.5

CVSS 7.5 · High EPSS 0.46% · P38

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 6

VendorProduct Version RangeStatus
Spring Spring Security 5.7.0< 5.7.24 affected
5.8.0< 5.8.26 affected
6.3.0< 6.3.17 affected
6.4.0< 6.4.17 affected
6.5.0< 6.5.10.2 affected
7.0.0< 7.0.5.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40988

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Unbounded DEFLATE Inflation in SAML 2.0 Service Provider
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
Spring Security 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Spring Security是Spring开源的一款具有认证和授权功能的安全框架。 Spring Security存在资源管理错误漏洞,该漏洞源于使用spring-security-saml2-service-provider和REDIRECT绑定时,无界写入器将压缩的SAML有效载荷膨胀到内存中,可能导致拒绝服务。以下版本受到影响:5.7.0至5.7.23版本、5.8.0至5.8.25版本、6.3.0至6.3.16版本、6.4.0至6.4.16版本、6.5.0至6.5.10版本和7.0.0至7.0.5
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Spring Spring Security 5.7.0 ~ 5.7.24 -

II. Public POCs for CVE-2026-40988

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40988

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-40988 (1)

Same Patch Batch · Spring · 2026-06-09 · 51 CVEs total

CVE-2026-41717 8.1 HIGH Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding
CVE-2026-41732 8.1 HIGH In Spring for Apache Pulsar, overly broad trusted-package matching in header mapper expose
CVE-2026-41855 8.1 HIGH Spring Framework Unsafe Deserialization via Jackson JMS Converters
CVE-2026-41729 8.1 HIGH Spring Data REST SpEL Injection via Map Key in JSON Patch
CVE-2026-41731 8.1 HIGH In Spring for Apache Kafka, overly broad trusted-package matching in header mappers expose
CVE-2026-41003 7.6 HIGH Unencoded HTML Outputs in Spring Security May Allow Cross-Site Scripting
CVE-2026-41728 7.5 HIGH Spring Data REST JSON Patch bypasses Jackson read-only property protection on nested objec
CVE-2026-40983 7.5 HIGH Micrometer gRPC server instrumentation DoS vulnerability
CVE-2026-40984 7.5 HIGH Micrometer HTTP server instrumentations DoS vulnerability
CVE-2026-41850 7.5 HIGH Spring Framework Algorithmic Denial of Service via SpEL Expressions
CVE-2026-41716 7.5 HIGH Spring Data web support unbounded negative-result cache keyed on attacker-supplied propert
CVE-2026-41695 7.5 HIGH Denial of Service in Spring Data Commons Property Path Resolution
CVE-2026-41849 7.5 HIGH Spring Framework Denial of Service via Integer Overflow in SpEL Expressions
CVE-2026-41006 7.5 HIGH Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration
CVE-2026-41007 7.5 HIGH Spring HATEOAS heap exhaustion through unbounded internal caching
CVE-2026-41842 7.5 HIGH Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux
CVE-2026-41720 7.4 HIGH Authentication Bypass with Empty Password in Spring LDAP
CVE-2026-40993 7.3 HIGH Unfiltered Java Native Deserialization of SAML 2.0 Asserting Party Credentials BLOB Databa
CVE-2026-41845 7.1 HIGH Spring Framework Cross-site Scripting via JavaScriptUtils
CVE-2026-47838 6.8 MEDIUM Unauthorized User Impersonation when Using X.509 Client Certificates

Showing top 20 of 51 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-40988

No comments yet


Leave a comment