CVE-2025-2559
Published: Mar 25, 2025
Modified: May 6, 2026
CVSS v3.1
4.9
Description
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.
| Vendor | Product | Versions |
|---|---|---|
Unknown | keycloak | affected 23.0.0 - < 26.0.11affected 26.1.0 - < 26.1.5 |
Red Hat | Red Hat Build of Keycloak | All versions |
Red Hat | Red Hat build of Keycloak 26.0 | unaffected 26.0.11-2 - < * |
Red Hat | Red Hat build of Keycloak 26.0 | unaffected 26.0-12 - < * |
Red Hat | Red Hat build of Keycloak 26.0 | unaffected 26.0-13 - < * |
Red Hat | Red Hat Single Sign-On 7 | All versions |
Weaknesses (CWE)
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now