cve.bz

CVE-2026-18212

7.5 highEPSS 0.7%Fix available

High (7.5). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat build of Keycloak 26.4: fixed in 26.4.16-2
  • Red Hat Red Hat build of Keycloak 26.4: fixed in 26.4-26
  • Red Hat Red Hat build of Keycloak 26.6: fixed in 26.6.7-3
  • Red Hat Red Hat build of Keycloak 26.6: fixed in 26.6-20

Ask an AI about this CVE

Show the promptExplain CVE-2026-18212 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18212?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18212?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18212 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 26.426.4.16-2
Red Hat build of Keycloak 26.426.4-26
Red Hat build of Keycloak 26.626.6.7-3
Red Hat build of Keycloak 26.626.6-20

Red Hat

Red Hat rates this Important.

Red Hat's statement

The Red Hat Product Security team has assessed the severity of this vulnerability as Important, given that it can be exploited by a remote, unauthenticated attacker. Successful exploitation allows an attacker to cause a complete denial of service by exhausting the native memory of the Keycloak process. The vulnerability root cause is the failure to explicitly release native zlib resources in the SAML DEFLATE helper classes.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat build of Keycloak 26.4rhbk/keycloak-operator-bundle:26.4.16-2Fixed 2026-09-16RHSA-2026:68276
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9:26.4-26Fixed 2026-09-16RHSA-2026:68276
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9-operator:26.4-26Fixed 2026-09-16RHSA-2026:68276
Red Hat build of Keycloak 26.4.16keycloak-servicesFixed 2026-09-16RHSA-2026:68280
Red Hat build of Keycloak 26.4.16rhbk-openshift-rhel9/rhbk-openshift-rhel9Fixed 2026-09-16RHSA-2026:68280
Red Hat build of Keycloak 26.6rhbk/keycloak-operator-bundle:26.6.7-3Fixed 2026-09-16RHSA-2026:68277
Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9:26.6-20Fixed 2026-09-16RHSA-2026:68277
Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9-operator:26.6-20Fixed 2026-09-16RHSA-2026:68277
Red Hat build of Keycloak 26.6.7keycloak-servicesFixed 2026-09-16RHSA-2026:68278
Red Hat build of Keycloak 26.6.7rhbk-keycloak-rhel9/rhbk-keycloak-rhel9Fixed 2026-09-16RHSA-2026:68278
Red Hat build of Keycloak 26.6.7rhbk-openshift-rhel9/rhbk-openshift-rhel9Fixed 2026-09-16RHSA-2026:68278
Red Hat Data Grid 8keycloak-servicesWill not fix
Red Hat JBoss Enterprise Application Platform Expansion Packkeycloak-servicesNot affected
Red Hat Single Sign-On 7keycloak-servicesWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18212.

References

Check your stackJSON