Security mailing lists by PureSourceCode

CVE-2025-2559

MEDIUM 4.9CVSS 3.1

Keycloak Denial of Service (DoS) Vulnerability via JWT Token Cache

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.

Published
25 Mar 2025
Last modified
21 Sep 2026
Assigned by
secalert@redhat.com
NVD status
Deferred
Weakness
CWE-770
Also known as
GHSA-2935-2wfm-hhpv
Sources
NVDJSONOSV GHSA-2935-2wfm-hhpvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.keycloak:keycloak-services <= 26.1.4

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 25 Mar 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.