CVE-2026-9801
Keycloak: keycloak: denial of service via malformed ldap password policy response
- State
- Published
- Severity
- 4.9 Medium
- Published
- May 28, 2026
- Updated
- Jun 26, 2026
- Reserved
- May 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.9 Medium | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H | redhat |
Weaknesses
- CWE-1284 Improper Validation of Specified Quantity in Input
Affected Products
| Product | Versions |
|---|---|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4Red Hat |
|
Red Hat build of Keycloak 26.4.13Red Hat | |
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6Red Hat |
|
Red Hat build of Keycloak 26.6.3Red Hat |
References
- RHSA-2026:25097vendor-advisory
- RHSA-2026:25098vendor-advisory
- RHSA-2026:30049vendor-advisory
- RHSA-2026:30050vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-9801vdb-entry
- RHBZ#2482473issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.