CVE-2025-2559

Source
https://cve.org/CVERecord?id=CVE-2025-2559
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2559.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-2559
Aliases
Published
2025-03-25T08:20:57.666Z
Modified
2026-07-16T03:47:36.542722155Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Org.keycloak/keycloak-services: jwt token cache exhaustion leading to denial of service (dos) in keycloak
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2559.json",
    "cna_assigner": "redhat"
}
References

Affected packages

Git / github.com/keycloak/keycloak

Affected ranges

Type
GIT
Repo
https://github.com/keycloak/keycloak
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "23.0.0"
        },
        {
            "fixed": "26.0.11"
        },
        {
            "introduced": "26.1.0"
        },
        {
            "fixed": "26.1.5"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2559.json"