WaratekVRT Sign in

CVE-2025-2559

Severity4.9 Medium CVSS 3.1
WeaknessCWE-770
Published25 Mar 2025
Updated21 Sep 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.70% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: keycloak/keycloak a10c811.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.
Candidate fix https://github.com/keycloak/keycloak/commit/a10c8119d4452b866b90a9019b2cc159919276ca : a commit: the change itself

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-services 0 none 26.1.4

Products and versions

1 product, 1 version entry
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-services generic ≤ 26.1.4

References

URLTags
https://github.com/keycloak/keycloak/commit/a10c8119d4452b866b90a9019b2cc159919276ca commit
https://access.redhat.com/errata/RHSA-2025:4335 WEB
https://access.redhat.com/errata/RHSA-2025:4336 WEB
https://access.redhat.com/security/cve/CVE-2025-2559 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2353868 WEB
https://github.com/keycloak/keycloak PACKAGE
https://github.com/keycloak/keycloak/issues/38576

Timeline

Published2025-03-25By the CVE Program.
NVD record modified2026-09-21NVD's own last-modified date for this record.