CVE-2026-18212
7.5high
Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state
- Severity
- 7.5high CVSS:3.1 by redhat
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.4.16-2 before *, from 26.6.7-3 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.4-26 before *, from 26.6-20 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.4-26 before *, from 26.6-20 before * | CVE List |
| keycloak-services | Not specified | CVE List |
| rhbk-openshift-rhel9/rhbk-openshift-rhel9 | Not specified | CVE List |
| rhbk-keycloak-rhel9/rhbk-keycloak-rhel9 | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| https://access.redhat.com/errata/RHSA-2026:68276 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:68277 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:68278 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:68280 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-18212 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2508307 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18212 changed 2026-09-16 | CVE Terms of Use |
| NVD | CVE-2026-18212 changed 2026-09-16 | Public domain |