CVE-2025-2559
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.
Published:Mar 20, 2025
Last Modified:May 6, 2026
EPS:Mar 25, 2025
EPSS Score:0.00013
CVSS Score:4.9
Affected Products
Vendor
Product
Action
Vendor
Redhat
Product
Build Keycloak
Redhat
Build Keycloak
Vendor
Redhat
Product
Red Hat Single Sign On
Redhat
Red Hat Single Sign On
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
