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.
History

Thu, 28 May 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 28 May 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Vendors & Products Redhat build Of Keycloak

Thu, 28 May 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title Keycloak: keycloak: denial of service via malformed ldap password policy response
First Time appeared Redhat
Redhat build Keycloak
Weaknesses CWE-1284
CPEs cpe:/a:redhat:build_keycloak:
Vendors & Products Redhat
Redhat build Keycloak
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2026-05-28T04:42:10.331Z

Updated: 2026-05-28T04:42:10.331Z

Reserved: 2026-05-28T04:00:46.722Z

Link: CVE-2026-9801

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-28T06:16:29.493

Modified: 2026-05-28T06:16:29.493

Link: CVE-2026-9801

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-28T04:18:25Z

Links: CVE-2026-9801 - Bugzilla