published 25 Mar 2025 · updated 21 Sep 2026
Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak
4.9MediumCVSS 4.9EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 26.0.11 and 26.1.5.
A flaw was found in Keycloak. When the configuration uses JWT tokens for authentication, the tokens are cached until expiration. If a client uses JWT tokens with an excessively long expiration time, for example, 24 or 48 hours, the cache can grow indefinitely, leading to an OutOfMemoryError. This issue could result in a denial of service condition, preventing legitimate users from accessing the system.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Red Hat | Build of Keycloak | ||
| Red Hat | Single Sign-On | ||
| >=23.0.0 <26.0.11, >=26.1.0 <26.1.5 | 26.0.11, 26.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Red Hat, strongest first
10.0CriticalPublic exploit
10.0CriticalPublic exploit
10.0CriticalPublic exploit
Embed
A live severity badge for an advisory, README or ticket