GitHub Advisoryadvisory · Maven

GHSA-f6r7-6w34-x2gp Keycloak Vulnerable to Improper Validation of Specified Quantity in Input

MEDIUM Published 2026-05-28 Modified 2026-07-01 Official page ↗
Aliases
CVE-2026-9801
Ecosystem
Maven
Packages
org.keycloak:keycloak-ldap-federation
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1284
Reviewed
2026-07-01

Affected packages

• Maven org.keycloak:keycloak-ldap-federation: < 26.6.3 → fixed in 26.6.3

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.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-1284 Improper Validation of Specified Quantity in Input weakness

References