Skip to main content

Keycloak EUVDEUVD-2026-32719

| CVE-2026-9803 MEDIUM
Out-of-bounds Read (CWE-125)
2026-05-28 secalert@redhat.com GHSA-cpf7-j4cf-vqx4
5.3
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-reachable Keycloak client registration endpoint
  2. Delivery
    Craft POST request with malformed 'Authorization: Bearer' header (no token value)
  3. Exploit
    Submit request unauthenticated to /realms/{realm}/clients-registrations/{provider}
  4. Execution
    Trigger ArrayIndexOutOfBoundsException in ClientRegistrationAuth header parser
  5. Impact
    Server 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven org.keycloak:keycloak-services fix: 26.6.3

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

Vendor (redhat) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.3 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.1%
Top 78% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*
CVE-2026-114938 HIGH POC
8.1 Nov 17

A heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2

CVE-2024-1132 HIGH POC
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2024-8883 MEDIUM POC
6.1 Sep 19

A misconfiguration flaw was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploita

CVE-2026-3047 HIGH
8.8 Mar 05

Keycloak's SAML identity provider broker fails to enforce client disabled status during IdP-initiated SSO flows, allowin

CVE-2026-9704 HIGH
8.8 May 27

Privilege escalation in Red Hat Build of Keycloak allows low-privileged authenticated users to assume the permissions of

CVE-2026-9689 MEDIUM POC
4.2 May 27

HTTP parameter pollution in Keycloak enables authentication bypass against deployments where OAuth/OIDC client applicati

CVE-2026-3009 HIGH
8.1 Mar 05

Keycloak's IdentityBrokerService.performLogin endpoint fails to enforce disabled Identity Provider restrictions, allowin

CVE-2024-7885 HIGH
7.5 Aug 21

A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across

CVE-2024-7341 HIGH
7.1 Sep 09

A session fixation issue was discovered in the SAML adapters provided by Keycloak. Rated high severity (CVSS 7.1), this

CVE-2024-10234 HIGH
7.3 Oct 22

A vulnerability was found in Wildfly, where a user may perform Cross-site scripting in the Wildfly deployment system. Ra

CVE-2026-9802 MEDIUM
6.8 May 28

Refresh token replay in Keycloak allows a remote attacker who has previously captured a user's refresh token to reuse th

CVE-2024-4629 MEDIUM
6.5 Sep 03

A vulnerability was found in Keycloak. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy