Skip to main content

Red Hat Build Of Keycloak 26 4 CVE-2026-2575

| EUVDEUVD-2026-12766 MEDIUM
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-03-18 redhat GHSA-xv6h-r36f-3gp5
5.3
CVSS 3.1 · Vendor: redhat
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
Impact

The CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) indicates this is a network-exploitable, low-complexity attack requiring no privileges or user interaction, with limited scope and only availability impact. While CVSS yields 5.3 (medium), the real-world risk is substantial because: (1) the attack is fully automatable and unauthenticated, (2) no proof-of-concept complexity barriers exist given the straightforward nature of DEFLATE bombs, (3) Keycloak is a critical authentication/authorization service whose downtime has cascading effects on dependent applications, and (4) the ENISA EUVD tracking and multiple Red Hat advisories (RHSA-2026:3947 and RHSA-2026:3948) indicate this was treated as a priority fix requiring coordinated release. The vulnerability should be prioritized for patching despite the moderate CVSS score, as availability of authentication infrastructure is operationally critical.

Exploit ScenarioDerived

An attacker crafts a malicious SAMLRequest with a payload compressed using DEFLATE that is small in wire size (e.g., a few kilobytes) but expands to gigabytes when decompressed. The attacker sends this request to the Keycloak SAML Redirect Binding endpoint (typically /auth/realms/{realm}/protocol/saml) without authentication. Keycloak's SAML processor receives the request, decompresses it without size validation, triggering rapid memory exhaustion and OutOfMemoryError, which crashes the JVM process and causes service unavailability until manual restart. Because the attack vector is network-based and requires no special privileges, any internet-facing Keycloak instance is vulnerable; a single request can achieve denial of service.

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

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

Alert me

AnalysisAIv1 – Mar 18, 2026

Unauthenticated remote attackers can exhaust memory in Red Hat Build of Keycloak 26.4 and 26.4.10 by sending highly compressed SAML requests that bypass decompression size limits, triggering denial of service. The vulnerability affects SAML Redirect Binding implementations that fail to enforce resource constraints during DEFLATE decompression, allowing attackers to crash the application with OutOfMemoryError conditions. No patch is currently available.

Earlier versions of this analysis (1)
v1 Mar 18, 2026 - 04:30 CVSS 5.3

A denial-of-service vulnerability exists in Red Hat Keycloak where an unauthenticated remote attacker can send a highly compressed SAMLRequest via the SAML Redirect Binding without triggering server-side decompression size limits, causing an OutOfMemoryError that crashes the process. Red Hat build of Keycloak versions 26.4 through 26.4.10 are affected, and the attack requires no authentication, user interaction, or special configuration. While the CVSS score of 5.3 reflects low to moderate severity with only availability impact, the attack is trivially executable over the network with low complexity.

RemediationAI

Immediately upgrade Red Hat build of Keycloak to a patched version beyond 26.4.10-1, following the guidance in Red Hat advisories RHSA-2026:3947 and RHSA-2026:3948 available at https://access.redhat.com/errata/. As a temporary mitigation prior to patching, implement a reverse proxy or WAF rule that enforces maximum size limits on SAML requests before they reach Keycloak (set a reasonable upper bound such as 1 MB for SAMLRequest payloads to block decompression bombs), restrict SAML endpoint access to known IdP IP ranges if possible, and configure JVM memory monitoring with alerts for OutOfMemoryError conditions. Additionally, ensure heap memory limits are appropriately sized and monitored, and consider implementing request rate limiting on SAML endpoints to reduce the frequency of potential attacks during the patch window.

Affected VersionsENISA

Red Hat build of Keycloak 26.4 patch: 26.4-12
Red Hat build of Keycloak 26.4 patch: 26.4.10-1

Affected Packages

maven org.keycloak:keycloak-saml-adapter-core fix: 26.5.4
maven org.keycloak:keycloak-saml-core fix: 26.5.4
maven org.keycloak:keycloak-services fix: 26.5.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exploits the SAML 2.0 Redirect Binding protocol, which uses DEFLATE compression for XML payloads. Keycloak fails to enforce decompression bomb protections (CWE-409: Improper Restriction of Rendered UI Layers or Frames, which generalizes to unbounded resource consumption during decompression). When processing incoming SAMLRequest messages, the server decompresses the payload without size validation, allowing an attacker to send a small compressed payload that expands to extremely large sizes in memory, exhausting heap allocation and triggering OutOfMemoryError. The affected CPE identifiers include cpe:2.3:a:red_hat:red_hat_build_of_keycloak_26.4:*:*:*:*:*:*:*:* and specifically patch versions 26.4-12 and 26.4.10-1, confirming the issue spans multiple minor releases.

Know when Red Hat Build Of Keycloak 26 4 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

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 18, 2026 - 03:19 nvd
MEDIUM 5.3

DescriptionCVE.org

A flaw was found in Keycloak. An unauthenticated remote attacker can trigger an application level Denial of Service (DoS) by sending a highly compressed SAMLRequest through the SAML Redirect Binding. The server fails to enforce size limits during DEFLATE decompression, leading to an OutOfMemoryError (OOM) and subsequent process termination. This vulnerability allows an attacker to disrupt the availability of the service.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 5 maven packages depend on org.keycloak:keycloak-saml-adapter-core (4 direct, 1 indirect)
  • 33 maven packages depend on org.keycloak:keycloak-saml-core (8 direct, 25 indirect)
  • 56 maven packages depend on org.keycloak:keycloak-services (27 direct, 29 indirect)

Ecosystem-wide dependent count for version 26.5.4 and other introduced versions.

Executive ViewAI

Why It Matters

Organizations using A flaw should be aware of moderate risk from CVE-2026-2575 rated CVSS 5.3. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Data Quality
7 sources
Confidence: High

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.0%
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Low

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in Keycloak Remote Attack Vulnerabilities

View all 2

Vendor StatusVendor

Debian

Bug #1088287
keycloak
Release Status Fixed Version Urgency
open - -

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