We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-2559

Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) 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.

Reserved 2025-03-20 | Published 2025-03-25 | Updated 2025-05-21 | Assigner redhat


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

Problem types

Allocation of Resources Without Limits or Throttling

Product status

Default status
unaffected

23.0.0 before 26.0.11
affected

26.1.0 before 26.1.5
affected

Default status
unaffected

Default status
affected

26.0.11-2 before *
unaffected

Default status
affected

26.0-12 before *
unaffected

Default status
affected

26.0-13 before *
unaffected

Default status
affected

Timeline

2025-03-20:Reported to Red Hat.
2025-03-20:Made public.

References

access.redhat.com/errata/RHSA-2025:4335 (RHSA-2025:4335) vendor-advisory

access.redhat.com/errata/RHSA-2025:4336 (RHSA-2025:4336) vendor-advisory

access.redhat.com/security/cve/CVE-2025-2559 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2353868 (RHBZ#2353868) issue-tracking

cve.org (CVE-2025-2559)

nvd.nist.gov (CVE-2025-2559)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-2559

Support options

Helpdesk Chat, Email, Knowledgebase