CVE-2026-18212
published high CVSS 3.1 · 7.5Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.4 · 26.4.16-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.4 · 26.4-26 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.4 · 26.4-26 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat build of Keycloak 26.4.16 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk-openshift-rhel9/rhbk-openshift-rhel9Red Hat build of Keycloak 26.4.16 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.7-3 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-20 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-20 and later · Other versions: affected | Unaffected | Not stated | redhat |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat build of Keycloak 26.6.7 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk-keycloak-rhel9/rhbk-keycloak-rhel9Red Hat build of Keycloak 26.6.7 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk-openshift-rhel9/rhbk-openshift-rhel9Red Hat build of Keycloak 26.6.7 | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-servicesRed Hat Data Grid 8 | Affected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.16-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-26 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-26 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4.16 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.4.16 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6.7-3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-20 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-20 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Data Grid 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: affected | redhat · cna |
Weaknesses
1- CWE-401 Missing Release of Memory after Effective Lifetime
References
6- RHSA-2026:68276 https://access.redhat.com/errata/RHSA-2026:68276
- RHSA-2026:68277 https://access.redhat.com/errata/RHSA-2026:68277
- RHSA-2026:68278 https://access.redhat.com/errata/RHSA-2026:68278
- RHSA-2026:68280 https://access.redhat.com/errata/RHSA-2026:68280
- https://access.redhat.com/security/cve/CVE-2026-18212
- RHBZ#2508307 https://bugzilla.redhat.com/show_bug.cgi?id=2508307
Provider assertions
2redhat · cna
Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f60611e3c9fb035c8b68f94c04a4c3634ebbd23cbec976138a7e2fa2d7d74c16
- Ingested
- 23 Sep 2026, 09:03:18 UTC
- Source record
- Official CVE record