CVE-2025-2559

MEDIUM CVSS 3.1: 4.9 EPSS 0.70%
Updated Sep 21, 2026
Keycloak
Parameter Value
CVSS 4.9 (MEDIUM)
Type CWE-770 (Allocation Without Limits)
Vendor Keycloak
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products

red hat:red hat build of keycloak 26.0 red hat:red hat single sign-on 7 red hat:red hat build of keycloak