CVE-2026-9801
MEDIUM 4.9CVSS 3.1Keycloak Vulnerable to Improper Validation of Specified Quantity in Input
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.
- Published
- 28 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-1284
- Also known as
- GHSA-f6r7-6w34-x2gp
- Sources
- NVDJSONOSV GHSA-f6r7-6w34-x2gpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | build_of_keycloakcpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:* |
(no version) | |
| OSV | Maven | org.keycloak:keycloak-ldap-federation | < 26.6.3 | 26.6.3 |
References
- https://access.redhat.com/errata/RHSA-2026:25097 · WEB
- https://access.redhat.com/errata/RHSA-2026:25098 · WEB
- https://access.redhat.com/errata/RHSA-2026:30049 · WEB
- https://access.redhat.com/errata/RHSA-2026:30050 · WEB
- https://access.redhat.com/security/cve/CVE-2026-9801 · Mitigation, 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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 May 2026)