---
id: CVE-2026-2575
title: A flaw was found in Keycloak
summary: >-
  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 limi…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-409
vendor: redhat
product: build_of_keycloak
affected:
  - 'build_of_keycloak >= 26.4, < 26.4.10'
patched:
  - build_of_keycloak 26.4.10
published: '2026-03-18'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T18:16:54.180'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-2575'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:3947'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3948'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:76128'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:76129'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:76130'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:76132'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:76134'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-2575'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2440149'
    label: secalert@redhat.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-2575'
  - url: 'https://github.com/keycloak/keycloak/issues/46372'
  - url: >-
      https://github.com/keycloak/keycloak/commit/4f90ef67f698dfb45df0d2f4981271a7c8b47f04
  - url: 'https://github.com/advisories/GHSA-xv6h-r36f-3gp5'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2575.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-2575'
tags:
  - nvd
  - ghsa
  - maven
  - cve.org
  - csaf
  - vex
  - red-hat
aliases:
  - GHSA-xv6h-r36f-3gp5
ecosystem: maven
epss: 0.00648
epssPercentile: 0.50861
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-03-18T13:34:34.411686Z'
ingestedAt: '2026-09-29T16:39:33.224Z'
---

## Overview

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.

## Affected

- `build_of_keycloak >= 26.4, < 26.4.10`

## Remediation

Upgrade past the affected range:

- `build_of_keycloak 26.4.10`

## Package advisory (CVE-2026-2575)

Affected packages:

- `org.keycloak:keycloak-saml-adapter-core < 26.5.4`
- `org.keycloak:keycloak-saml-core < 26.5.4`
- `org.keycloak:keycloak-services < 26.5.4`

Patched in:

- `org.keycloak:keycloak-saml-adapter-core 26.5.4`
- `org.keycloak:keycloak-saml-core 26.5.4`
- `org.keycloak:keycloak-services 26.5.4`

Source: https://github.com/advisories/GHSA-xv6h-r36f-3gp5

## Vendor advisories

- **RHSA-2026:76134** · Red Hat · fixed in: Middleware Containers for OpenShift · released 2026-10-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:76134)
- **RHSA-2026:3948** · Red Hat · fixed in: Red Hat build of Keycloak 26.4 · released 2026-03-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:3948)
- **RHSA-2026:76132** · Red Hat · fixed in: Red Hat Single Sign-On 7.6.13 · released 2026-10-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:76132)
- **RHSA-2026:3947** · Red Hat · fixed in: Red Hat build of Keycloak 26.4.10 · released 2026-03-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:3947)
