{"id":"CVE-2026-9801","aliases":["CVE-2026-9801","GHSA-f6r7-6w34-x2gp"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak: keycloak: denial of service via malformed ldap password policy response","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en Keycloak. Un atacante remoto con altos privilegios, como un administrador de reino configurando un servidor malicioso de Lightweight Directory Access Protocol (LDAP) o un atacante comprometiendo un servidor LDAP ascendente, podría explotar esta vulnerabilidad. Al enviar una respuesta malformada de política de contraseñas LDAP durante una solicitud de autenticación de contraseña, el atacante puede desencadenar un OutOfMemoryError. Esto provoca que la Máquina Virtual Java (JVM) de Keycloak termine, lo que lleva a una denegación de servicio (DoS) para todos los reinos en el nodo afectado.","source":"nvd"}],"published":"2026-05-28T04:42:10.331Z","modified":"2026-10-26T12:10:00.130Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-1284"],"affected":[{"ranges":[{"type":"rpm","introduced":"26.4.13-1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-19","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.4-19","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.13","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.6.3-3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","package":"rhbk/keycloak-operator-bundle","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.6-6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"26.6-6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","package":"rhbk/keycloak-rhel9-operator","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.3","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.6.3"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-ldap-federation","purl":"pkg:maven/org.keycloak/keycloak-ldap-federation","source":"ghsa"},{"ranges":[],"vendor":"redhat","product":"build_of_keycloak","cpe":"cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:25097","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25098","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30049","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30050","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-9801","tags":["mitigation","vdb-entry","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482473","tags":["issue-tracking","vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9801","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/issues/49434","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/pull/49514","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/2c4fe42235ba8c265b1da3a30541a270d5bd8c39","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Seongkuk Park for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-30T01:53:56.832Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9801","url":"https://www.cve.org/CVERecord?id=CVE-2026-9801","licence":"CVE Terms of Use","modified":"2026-06-26T06:46:40.611Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f6r7-6w34-x2gp","url":"https://github.com/advisories/GHSA-f6r7-6w34-x2gp","licence":"CC-BY-4.0","modified":"2026-07-01T21:56:29.934Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9801","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9801","licence":"Public domain","modified":"2026-10-26T12:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:22.740Z","epss":{"score":0.00477,"percentile":0.4282,"date":"2026-12-02T12:00:21.000Z"}}