Skip to content
4.9 Medium

CVE-2025-2559 A flaw was found in Keycloak

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.

Affected products and versions

Product Affected versions Fixed in
Red Hat Build of Keycloak Versions not published
Red Hat build of Keycloak 26.0 26.0 earliest → < 26.0-13 26.0-13
Red Hat Single Sign-On 7 Versions not published

References

Timeline

  1. Published
  2. Last modified
The 276 CVEs of Red Hat Build of Keycloak →
Track this CVE