Skip to main content

Keycloak CVE-2026-9801

| EUVDEUVD-2026-32718 MEDIUM
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-05-28 secalert@redhat.com GHSA-f6r7-6w34-x2gp
4.9
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Red Hat
4.9 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Analysis Generated
May 28, 2026 - 06:32 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 33 maven packages depend on org.keycloak:keycloak-ldap-federation (5 direct, 28 indirect)

Ecosystem-wide dependent count for version 26.6.3.

DescriptionCVE.org

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.

AnalysisAI

Denial of service in Keycloak's LDAP federation layer allows an authenticated realm administrator - or an attacker who has compromised an upstream LDAP server - to crash the entire Keycloak JVM by inducing an OutOfMemoryError through a malformed LDAP password policy response. Because Keycloak typically serves multiple realms from a single JVM process, a successful attack denies service to all realms on the affected node, not just the targeted one. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Technical ContextAI

Keycloak is Red Hat's open-source identity and access management platform that supports LDAP/Active Directory user federation, allowing it to delegate credential validation to upstream directory servers. During password authentication flows involving LDAP-federated realms, Keycloak processes LDAP password policy responses returned by the configured directory server. The root cause is CWE-1284 (Improper Validation of Specified Quantity in Input): Keycloak fails to validate or bound the quantity-type fields within incoming LDAP password policy responses, permitting a malformed response to drive unbounded heap allocation within the Keycloak JVM. Once the Java heap is exhausted, the JVM throws an unrecoverable OutOfMemoryError, terminating the process. No CPE strings were included in the available data; affected Keycloak versions must be confirmed via the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-9801. The Java tag in the report data confirms the attack surface is the JVM runtime environment.

RemediationAI

No specific patched version was identified in the available data. Consult the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-9801 and BZ#2482473 at https://bugzilla.redhat.com/show_bug.cgi?id=2482473 for patch availability and exact fix versions; apply any vendor-released update as the primary remediation once confirmed. As a compensating control for the direct admin attack path, audit and minimize the number of accounts holding realm administrator privileges, as PR:H is required. For the upstream LDAP compromise path, enforce LDAPS or StartTLS with strict certificate validation for all Keycloak-to-LDAP connections and restrict LDAP connectivity to managed, trusted infrastructure only - disabling certificate validation eliminates this protection entirely, a meaningful trade-off. Deploying Keycloak with realm-to-node isolation (dedicated nodes per high-value realm) reduces blast radius but does not eliminate exploitability on any individual node. Disabling LDAP federation for realms that do not require it removes the attack surface entirely but may break existing user federation workflows.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

Share

CVE-2026-9801 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy