CVE-2026-9801
Received Received - Intake
OutOfMemoryError DoS in Keycloak via Malformed LDAP Response

Publication date: 2026-05-28

Last updated on: 2026-05-28

Assigner: Red Hat, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-05-28
AI Q&A
2026-05-28
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
keycloak keycloak *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1284 The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in Keycloak and can be exploited by a remote attacker who has high privileges, such as a realm administrator or someone who has compromised an upstream LDAP server.

The attacker sends a malformed LDAP password policy response during a password authentication request, which triggers an OutOfMemoryError in the Keycloak Java Virtual Machine (JVM).

This error causes the JVM to terminate, leading to a denial of service (DoS) for all realms on the affected node.


How can this vulnerability impact me? :

The primary impact of this vulnerability is a denial of service (DoS) condition.

When exploited, the Keycloak JVM crashes due to an OutOfMemoryError, causing all realms on the affected node to become unavailable.

This can disrupt authentication services and potentially halt access to applications relying on Keycloak for identity and access management.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart