GHSA-xv6h-r36f-3gp5

Keycloak: Denial of Service due to excessive SAMLRequest decompression

At a glance

Published
Updated
CVE
CVE-2026-2575
Aliases
BIT-keycloak-2026-2575
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. 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 packages

PackageVersions
Maven · org.keycloak:keycloak-saml-adapter-coreintroduced 0, fixed 26.5.4
Maven · org.keycloak:keycloak-saml-coreintroduced 0, fixed 26.5.4
Maven · org.keycloak:keycloak-servicesintroduced 0, fixed 26.5.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database