CVE-2026-9801 Details
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.
A denial-of-service vulnerability has been identified in Keycloak. This issue arises when an LDAP user-storage provider is configured. A remote attacker with high privileges, such as a realm administrator or one who has compromised an upstream LDAP server, can exploit this vulnerability. The attacker sends a malformed LDAP password policy response during authentication, which triggers an OutOfMemoryError. This error causes the Keycloak Java Virtual Machine (JVM) to terminate, leading to a service outage for all realms on the affected node.
To mitigate this vulnerability, ensure that Keycloak's LDAP user-storage providers connect only to trusted and secure LDAP servers. Avoid using unverified or potentially malicious LDAP endpoints. Always use TLS for LDAP connections to protect against Man-in-the-Middle attacks. If an upstream LDAP server is compromised, it should be isolated and secured immediately.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1284 | Improper Validation of Specified Quantity in Input | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat build of keycloak | All versions |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 26, 2026 | CVE Modified | [email protected] |
| Jun 26, 2026 | CVE Modified | [email protected] |
| Jun 26, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2026 | CVE Modified | [email protected] |
| Jun 10, 2026 | CVE Modified | [email protected] |
| Jun 3, 2026 | Initial Analysis | [email protected] |
| May 28, 2026 | New CVE Received | [email protected] |