CVE-2025-2559 - CVE House
Back to Database
Status published Medium CVE-2025-2559

Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-2559

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Red Hat Build of Keycloak, Red Hat build of Keycloak 26.0, Red Hat Single Sign-On 7
Vulnerable Versions:
23.0.0, 26.1.0, 26.0.11-2, 26.0-12, 26.0-13

Timeline

Official Publish: March 25th, 2025
Last Modified: May 6th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)