Live threats

All CVEs / Red Hat

CVE-2025-2559Red Hat Build of Keycloak

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
—
Auth required
Yes
Published
Mar 25, 2025
Updated
Sep 21, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Red Hat Build of Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-services ≤ 26.1.4 no fixed version —

Per OSV / GitHub Advisories (GHSA-2935-2wfm-hhpv). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.