Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-reachable Keycloak client registration endpoint
-
DeliveryCraft POST request with malformed 'Authorization: Bearer' header (no token value)
-
ExploitSubmit request unauthenticated to /realms/{realm}/clients-registrations/{provider}
-
ExecutionTrigger ArrayIndexOutOfBoundsException in ClientRegistrationAuth header parser
-
ImpactServer returns HTTP 500, endpoint unavailable to legitimate callers
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to send HTTP POST requests to a Keycloak Dynamic Client Registration endpoint (e.g., /realms/{realm}/clients-registrations/{provider}). No authentication is required - CVSS PR:N confirms this. The critical limiting factor is whether Dynamic Client Registration is enabled in the target realm and whether those endpoints are network-accessible from an untrusted context; if client registration is disabled or the path is blocked at a perimeter control, the vulnerability cannot be triggered. The attack does not require any existing session, registered client, or knowledge of realm credentials. Exploitation is bounded to availability impact on the registration endpoint specifically - CVSS A:L and S:U indicate the broader Keycloak service (authentication, token issuance) is likely unaffected by individual requests, though sustained flooding of the endpoint could degrade availability more broadly. |
| Impact | The CVSS 3.1 score of 5.3 (Medium) reflects a wide attack surface - network-accessible, zero complexity, no authentication, no user interaction - paired with constrained impact: A:L indicates partial availability degradation rather than total service collapse. In practice, repeated unauthenticated requests could sustain disruption of client registration workflows without necessarily taking down the broader Keycloak authentication service. The 'Information Disclosure' and 'Buffer Overflow' tags in the source data conflict directly with the CVSS impact metrics (C:N, I:N) and the Java exception behavior described - these tags appear inconsistent and should not be used to escalate severity beyond what the CVSS and description support. No CISA KEV listing is present, no EPSS score was provided, and no POC code has been identified, meaning exploitation probability cannot be quantified from available data. The real-world priority is moderate: organizations with client registration endpoints exposed to untrusted networks face a low-barrier disruption path, while those with the feature disabled or network-restricted are not meaningfully at risk. |
| Exploit ScenarioDerived | An unauthenticated attacker scans for or identifies a Keycloak instance with its client registration endpoints reachable over the network, then issues a POST request to /realms/master/clients-registrations/openid-connect with an HTTP header of 'Authorization: Bearer' containing no token value - or a structurally truncated variant. The ClientRegistrationAuth parser attempts to split and index the token string, accesses an out-of-bounds array index, throws an unhandled ArrayIndexOutOfBoundsException, and the server responds with HTTP 500, rendering the endpoint non-functional for legitimate callers. No public exploit code has been identified, but the attack requires only a standard HTTP client and knowledge of the endpoint path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Keycloak's ClientRegistrationAuth component can be crashed by a remote unauthenticated attacker through a specially crafted POST request bearing a malformed 'Authorization: Bearer' header, triggering an unhandled ArrayIndexOutOfBoundsException and returning HTTP 500 to all subsequent callers of the affected endpoint. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms zero prerequisites for exploitation beyond network reachability, making any publicly exposed Keycloak client registration endpoint a viable target. No public exploit has been identified at time of analysis and no EPSS data was supplied, but the trivial attack mechanics mean no specialized tooling is required to reproduce the denial of service.
RemediationAI
No specific patched version was confirmed in the available input data; organizations should monitor https://access.redhat.com/security/cve/CVE-2026-9803 and https://bugzilla.redhat.com/show_bug.cgi?id=2482465 for patch releases and apply vendor-issued updates as soon as they become available. As an effective compensating control, disable Dynamic Client Registration entirely within each Keycloak realm via the admin console (Realm Settings → Client Registration → Disable) if the feature is not operationally required - this eliminates the vulnerable code path with no impact on standard authentication or token issuance flows. If dynamic registration must remain enabled, restrict network access to the /realms/*/clients-registrations/* path prefix at the reverse proxy or WAF layer to trusted management networks only, directly neutralizing the unauthenticated attack vector; note that this requires accurate network segmentation and does not address the underlying defect. Input validation at the WAF level to reject malformed Authorization headers is a lower-confidence secondary control, as header normalization behavior varies by proxy implementation.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak is a widely-deployed open-source identity and access management platform commonly used for OAuth 2.0, OpenID Connect, and SAML federation. The ClientRegistrationAuth component governs authentication checks on the Dynamic Client Registration API endpoints (typically at /realms/{realm}/clients-registrations/...). The root cause is CWE-125 (Out-of-bounds Read): in the Java runtime, this manifests as an ArrayIndexOutOfBoundsException when header-parsing logic attempts to access an index beyond array bounds on a truncated or structurally incomplete Bearer token string - for example, a header value of 'Bearer' with no trailing token. Java does not allow memory corruption on out-of-bounds access, so the result is a thrown exception rather than heap corruption; however, if the exception propagates unhandled through the request lifecycle it terminates the HTTP response with a 500 status and renders the endpoint dysfunctional for the request duration. No CPE strings were included in the provided intelligence; exact affected Keycloak versions must be sourced from the Red Hat advisory. The 'Buffer Overflow' tag in the source data is technically inaccurate for a managed Java runtime - the underlying mechanism is array index miscalculation, consistent with CWE-125, not a native memory buffer overwrite.
Know when Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 50 maven packages depend on org.keycloak:keycloak-services (22 direct, 28 indirect)
Ecosystem-wide dependent count for version 26.5.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
More in Build Of Keycloak
View allA heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS
A misconfiguration flaw was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploita
Keycloak's SAML identity provider broker fails to enforce client disabled status during IdP-initiated SSO flows, allowin
Privilege escalation in Red Hat Build of Keycloak allows low-privileged authenticated users to assume the permissions of
HTTP parameter pollution in Keycloak enables authentication bypass against deployments where OAuth/OIDC client applicati
Keycloak's IdentityBrokerService.performLogin endpoint fails to enforce disabled Identity Provider restrictions, allowin
A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across
A session fixation issue was discovered in the SAML adapters provided by Keycloak. Rated high severity (CVSS 7.1), this
A vulnerability was found in Wildfly, where a user may perform Cross-site scripting in the Wildfly deployment system. Ra
Refresh token replay in Keycloak allows a remote attacker who has previously captured a user's refresh token to reuse th
A vulnerability was found in Keycloak. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no
EUVD-2026-32719
GHSA-cpf7-j4cf-vqx4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB