CVE-2025-2559CWE-770denial-of-service

CVE-2025-2559

Medium · published March 25, 2025

CVSS v3.1
4.9
EPSS
1%
Percentile
52.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00703 · 52.7th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-03-25T13:15Z
References (6)
EPSS history
Timeline
  • 25 MAR 08:20Z
    Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak
    cvelistv5