Keycloak: keycloak: denial of service via malformed ldap password policy response (Red Hat Red Hat build of Keycloak 26.4)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.48 % · percentile 41 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
A flaw was found in Keycloak. A remote attacker with high privileges, such as a realm administrator configuring a malicious Lightweight Directory Access Protocol (LDAP) server or an attacker compromising an upstream LDAP server, could exploit this vulnerability. By sending a malformed LDAP password policy response during a password authentication request, the attacker can trigger an OutOfMemoryError. This causes the Keycloak Java Virtual Machine (JVM) to terminate, leading to a denial of service (DoS) for all realms on the affected node.
Weaknesses (CWE)
- CWE-1284 — Improper Validation of Specified Quantity in Input
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | redhat |
| 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 | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-f6r7-6w34-x2gp — Keycloak Vulnerable to Improper Validation of Specified Quantity in Input
European references
- ENISA EUVD · EUVD-2026-32718
- GCVE · GCVE-0-2026-9801
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.13-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-19 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-19 < * |
| Red Hat · Red Hat build of Keycloak 26.4.13 | |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6.3-3 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-6 < * |
| Red Hat · Red Hat build of Keycloak 26.6 | unaffected 26.6-6 < * |
| Red Hat · Red Hat build of Keycloak 26.6.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |