CVE-2026-9801: Keycloak: keycloak: denial of service via malformed ldap password policy response

Published May 28, 2026
·
Updated

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.

Affected Software

2 affected components
Keycloak Keycloak
redhat Build Of Keycloak

Event History

May 28, 2026
Data Sourced
via Red Hat·04:20 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·04:42 AM
Data Sourced
via MITRE·04:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeaknessAffected Software
May 18, 58394
Event
via FIRST·07:47 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9801?

The severity of CVE-2026-9801 is classified as medium with a CVSS score of 4.9.

2

What does CVE-2026-9801 affect?

CVE-2026-9801 affects the Keycloak software, specifically in its handling of LDAP password policies.

3

How can an attacker exploit CVE-2026-9801?

An attacker with high privileges can exploit CVE-2026-9801 by sending a malformed LDAP password policy response.

4

What is the risk of CVE-2026-9801?

CVE-2026-9801 presents a risk of denial of service for systems using Keycloak configured with vulnerable LDAP integrations.

5

How do I mitigate CVE-2026-9801?

To mitigate CVE-2026-9801, ensure that your Keycloak configuration does not allow untrusted LDAP servers and monitor for any malformed responses.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203