Allocation of Resources Without Limits or Throttling Affecting keycloak-25 package, versions <25.0.6+e1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.7% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-KEYCLOAK25-19435030
  • published31 Aug 2026
  • disclosed25 Mar 2025

Introduced: 25 Mar 2025

CVE-2025-2559  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Echo:latest keycloak-25 to version 25.0.6+e1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-25 package and not the keycloak-25 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1