Home / Red Hat / Red Hat Build of Keycloak / CVE-2025-2559
CVE-2025-2559: is it exploited, and which versions of Red Hat Build of Keycloak are affected and fixed?
CVE-2025-2559 is a denial of service (resources allocated without limits) vulnerability in Red Hat Build of Keycloak. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: org.keycloak:keycloak-services through 26.1.4 (GitHub advisory GHSA-2935-2wfm-hhpv). Fixed in 26.0.11, 26.1.5, 26.0.11-2, 26.0-12 and 1 more (CVE record by redhat). Severity: Medium (4.9, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 28, 2026, 17:55 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-2559?
Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak
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.
From the CVE record by redhat, last updated September 21, 2026, 05:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| keycloak | from 23.0.0 before 26.0.11 from 26.1.0 before 26.1.5 | 26.0.11, 26.1.5 | |
| Red Hat | Red Hat Build of Keycloak keycloak-services | not stated | |
| Red Hat | Red Hat build of Keycloak 26.0 rhbk/keycloak-operator-bundle | all versions (default) | 26.0.11-2 |
| Red Hat | Red Hat build of Keycloak 26.0 rhbk/keycloak-rhel9 | all versions (default) | 26.0-12 |
| Red Hat | Red Hat build of Keycloak 26.0 rhbk/keycloak-rhel9-operator | all versions (default) | 26.0-13 |
| Red Hat | Red Hat Single Sign-On 7 keycloak-services | all versions (the record names no range) |
As the CVE record by redhat states it, last updated September 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | <= 26.1.4 | none listed | GHSA-2935-2wfm-hhpv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 30, 2025. Summary: Keycloak Denial of Service (DoS) Vulnerability via JWT Token Cache.
How severe is CVE-2025-2559?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-2559 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 31, 2025)
- EPSS
- 0.70% probability of exploitation activity in the next 30 days, percentile 54.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- RHSA-2025:4335 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:4336 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-2559 vdb-entry, x_refsource_REDHAT
- RHBZ#2353868 issue-tracking, x_refsource_REDHAT
- https://github.com/keycloak/keycloak/commit/a10c8119d4452b866b90a9019b2cc159919276ca
- https://github.com/keycloak/keycloak/issues/38576
When was it published, and where is the official record?
- Reserved
- March 20, 2025
- Published
- March 25, 2025, 08:20 UTC
- CVE record updated
- September 21, 2026, 05:47 UTC by redhat
- NVD
- Deferred, last modified September 21, 2026, 06:17 UTC
- Last checked
- CVE list November 28, 2026, 17:55 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Build of Keycloak?
- Dec 3, 2026CVE-2026-143804 Red Hat Build of Keycloak: no limit on login attempts (brute force)
- Dec 3, 2026CVE-2026-143801 Red Hat Build of Keycloak: missing authorization
- Dec 2, 2026CVE-2026-142446 Red Hat Exploit Intelligence: not Failing Securely
- Dec 2, 2026CVE-2026-142441 Red Hat Exploit Intelligence: improper access control
- Dec 2, 2026CVE-2026-142457 Red Hat Exploit Intelligence: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-142455 Red Hat Exploit Intelligence: denial of service (uncontrolled resource consumption)
- Dec 2, 2026CVE-2026-142454 Red Hat Exploit Intelligence: HTTP request smuggling
- Dec 2, 2026CVE-2026-142452 Red Hat Exploit Intelligence: improper Neutralization of CRLF Sequences
Every CVE in Red Hat Build of Keycloak
Questions about CVE-2025-2559
Is CVE-2025-2559 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.70% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Build of Keycloak are affected by CVE-2025-2559?
org.keycloak:keycloak-services through 26.1.4, per the GitHub advisory GHSA-2935-2wfm-hhpv. The tables above give every range the sources list.
Which version fixes CVE-2025-2559?
26.0.11, 26.1.5, 26.0.11-2, 26.0-12 and 26.0-13, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-2559?
Medium (4.9, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-2559?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.