CVE Database
/

CVE-2025-2559

Back to search

CVE-2025-2559

Published: Mar 25, 2025

Modified: May 6, 2026

PUBLISHED

CVSS v3.1

4.9

MEDIUM

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.

VendorProductVersions

Unknown

keycloak

affected
23.0.0 - < 26.0.11
affected
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

Network

Attack Complexity

Low

Privileges Required

High

User Interaction

None

Scope

Unchanged

Confidentiality

None

Integrity

None

Availability

High

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now