CVE-2025-2559
MEDIUM EPSS 46.5%
Published Mar 25, 20251y ago · Modified Jun 17, 20262w ago
4.9 CVSS 3.1
Published Mar 25, 2025 1y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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
Threat Intelligence
EPSS Exploit Probability
46.5% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-770
References 6
- 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
- github.com https://github.com/keycloak/keycloak/commit/a10c8119d4452b866b90a9019b2cc159919276ca
- github.com https://github.com/keycloak/keycloak/issues/38576
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.