High severity · published Sep 16, 2026
CVE-2026-18212
Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state
7.5
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Data Grid 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 26.4 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 26.6 · Red Hat
All versions, or not specified · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-18212
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-18212
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:68276
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:68277
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:68278
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:68280
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-18212
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2508307
More from Red Hat build of Keycloak 26.4
9.8
CVE-2026-16442
Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction
9.1
CVE-2026-18963
Keycloak-services: keycloak-services: unauthenticated account takeover via reset-credentials flow bypass
9.1
CVE-2026-16443
Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation
8.8
CVE-2026-15572
Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
8.8
CVE-2026-9704
Keycloak: keycloak: privilege escalation due to oversized subject_token jwt
