A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- access.redhat.com /errata/RHSA-2025:4335
- access.redhat.com /errata/RHSA-2025:4336
- access.redhat.com /security/cve/CVE-2025-2559
- bugzilla.redhat.com /show_bug.cgi
- github.com /keycloak/keycloak/commit/a10c8119d4452b866b90a9019b2cc1599…
- github.com /keycloak/keycloak/issues/38576
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning