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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2025-03-25 09:15
Updated : 2025-04-30 03:15
NVD link : CVE-2025-2559
Mitre link : CVE-2025-2559
CVE.ORG link : CVE-2025-2559
JSON object : View
Products Affected
No product.
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
