Spring Retry has Cache Exhaustion in Stateful Retries that leads to Denial of Service
An attacker can craft a large number of unique requests that trigger a failure, exhausting the capacity of the application-wide stateful retry cache. Once the cache is full, it permanently rejects any further updates, causing all later stateful retries and circuit breakers in the application to fail.
Affected versions: Spring Retry 2.0.0 through 2.0.12; 1.3.0 through 1.3.4.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.retry:spring-retry | >= 2.0.0, < 2.0.13, <= 1.3.4 | 2.0.13 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41710
- https://github.com/spring-attic/spring-retry/issues/505
- https://github.com/spring-attic/spring-retry/commit/6f351edae3d3575fffbde3c0f62fef963dacd152
- https://github.com/spring-attic/spring-retry/releases/tag/v2.0.13
- https://github.com/spring-projects/spring-retry
- https://spring.io/security/cve-2026-41710
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-770- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.retry:spring-retry- Disclosed
- 09.06.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2827-2mxx-j8pv - CC BY 4.0
Vulnerability history: org.springframework.retry:spring-retry
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.