Skip to main content
← All vulnerabilities
CVE-2025-2559GHSA-2935-2WFM-HHPV

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 26.0.11, 26.1.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • keycloak

    From 23.0.0 · fixed in 26.0.11; From 26.1.0 · fixed in 26.1.5

  • keycloak-services

    Version range not reported

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • keycloak-services

    Version range not reported

  • org.keycloak:keycloak-servicesMaven

    through 26.1.4

References 6

access.redhat.com

bugzilla.redhat.com

GitHub · keycloak/keycloak