CVE-2025-2559: Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak
Red Hat · Red Hat Build of Keycloak
Vendor fix available · Affected: Red Hat Build of Keycloak · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 53% of scored CVEs
DescriptionCVE.org
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 products6
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- keycloakfrom 23.0.0 before 26.0.11; from 26.1.0 before 26.1.5
- Red Hat · Red Hat Build of KeycloakVersions not stated
- Red Hat · Red Hat build of Keycloak 26.0Versions not stated
- Red Hat · Red Hat build of Keycloak 26.0Versions not stated
- Red Hat · Red Hat build of Keycloak 26.0Versions not stated
- Red Hat · Red Hat Single Sign-On 7Versions not stated
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Red Hat
- Published
- March 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-2559 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-770cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- access.redhat.com/security/cve/CVE-2025-2559access.redhat.com
- Issue trackerbugzilla.redhat.com
- github.com/keycloak/keycloak/commit/a10c8119d4452b866b90a9019b2cgithub.com
- github.com/keycloak/keycloak/issues/38576github.com