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

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-09-16T14:54:15.431Z
- Modified: 2026-09-16T19:42:43.623Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.4.16-2 before *; from 26.6.7-3 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.4-26 before *; from 26.6-20 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.4-26 before *; from 26.6-20 before *)
- keycloak-services: no versions given
- rhbk-openshift-rhel9/rhbk-openshift-rhel9: no versions given
- rhbk-keycloak-rhel9/rhbk-keycloak-rhel9: no versions given

## 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

- CVE List: [CVE-2026-18212](https://www.cve.org/CVERecord?id=CVE-2026-18212), CVE Terms of Use, modified 2026-09-16
- NVD: [CVE-2026-18212](https://nvd.nist.gov/vuln/detail/CVE-2026-18212), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-18212 · Whole record: https://cve.day/CVE-2026-18212.json · Rebuilt by cve.day 2026-11-25T22:59:39.052Z
