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

- Severity: Medium 4.9 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-02)
- Published: 2026-05-28T04:42:10.331Z
- Modified: 2026-10-26T12:10:00.130Z
- Also known as: GHSA-f6r7-6w34-x2gp
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.4.13-1 before *; from 26.6.3-3 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.4-19 before *; from 26.6-6 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.4-19 before *; from 26.6-6 before *)
- org.keycloak:keycloak-ldap-federation (Maven): before 26.6.3
- redhat build_of_keycloak: no versions given

## Every score

- redhat: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2026:25097> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:25098> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30049> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30050> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-9801> (mitigation, vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2482473> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-9801> (advisory)
- <https://github.com/keycloak/keycloak/issues/49434> (web)
- <https://github.com/keycloak/keycloak/pull/49514> (web)
- <https://github.com/keycloak/keycloak/commit/2c4fe42235ba8c265b1da3a30541a270d5bd8c39> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2026-9801](https://www.cve.org/CVERecord?id=CVE-2026-9801), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-f6r7-6w34-x2gp](https://github.com/advisories/GHSA-f6r7-6w34-x2gp), CC-BY-4.0, modified 2026-07-01
- NVD: [CVE-2026-9801](https://nvd.nist.gov/vuln/detail/CVE-2026-9801), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-9801 · Whole record: https://cve.day/CVE-2026-9801.json · Rebuilt by cve.day 2026-11-25T22:59:22.740Z
