What’s Vulnerable › Vulnerabilities

CVE-2026-18212: Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state

Description

A flaw was found in the SAML Redirect Binding implementation of Keycloak, an open-source identity and access management solution. The issue occurs because the custom DEFLATE compression and decompression helpers fail to release native zlib memory after use. An unauthenticated attacker can exploit this by sending repeated malformed SAML requests, leading to native memory exhaustion and a denial of service.

Affected products

How to fix

Upgrade to a fixed version: Red Hat build of Keycloak 26.4 26.4-26, 26.4.16-2, 26.6-20, 26.6.7-3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-18212 or the next vulnerability affects your stack