๐Ÿ” CVE Alert

CVE-2025-2559

MEDIUM 4.9

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

CVSS Score
4.9
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-770
Published Mar 25, 2025
Last Updated Jan 29, 2026
Stay Ahead of the Next One

Get instant alerts for

Be the first to know when new medium vulnerabilities are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

Red Hat / Red Hat Build of Keycloak
All versions affected
Red Hat / Red Hat build of Keycloak 26.0
All versions affected
Red Hat / Red Hat build of Keycloak 26.0
All versions affected
Red Hat / Red Hat build of Keycloak 26.0
All versions affected
Red Hat / Red Hat Single Sign-On 7
All versions affected

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
access.redhat.com: https://access.redhat.com/errata/RHSA-2025:4335 access.redhat.com: https://access.redhat.com/errata/RHSA-2025:4336 access.redhat.com: https://access.redhat.com/security/cve/CVE-2025-2559 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2353868