In short
- CVE-2025-2559 is a MEDIUM (CVSS 4.9) vulnerability affecting org.keycloak:keycloak-services.
- Chance of exploitation in the next 30 days (EPSS): 0.70%, higher than 53.3% of all vulnerabilities.
- No patched version is listed yet: follow the vendor's advisory in References.
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.
NVD 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.
More vulnerabilities in org.keycloak:keycloak-services
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free