GHSA-cpf7-j4cf-vqx4

Keycloak has an Out-of-bounds Read

At a glance

Published
Updated
CVE
CVE-2026-9803
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Description

A flaw was found in Keycloak's ClientRegistrationAuth component. A remote unauthenticated attacker can exploit this vulnerability by sending a specially crafted POST request with a malformed 'Authorization: Bearer' header to any client registration endpoint. This can lead to an ArrayIndexOutOfBoundsException, causing the server to return an HTTP 500 error and resulting in a Denial of Service (DoS) for the affected service.

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, last affected 26.4.7
Maven · org.keycloak:keycloak-servicesintroduced 26.5.0, fixed 26.6.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database