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.
Problem types
Improper Validation of Specified Quantity in Input
Product status
Timeline
| 2026-05-28: | Reported to Red Hat. |
| 2026-05-28: | Made public. |
Credits
Red Hat would like to thank Seongkuk Park for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-9801
bugzilla.redhat.com/show_bug.cgi?id=2482473 (RHBZ#2482473)