CVE-2026-18212: Missing Release of Memory after Effective Lifetime in Red Hat Red Hat build of Keycloak 26.4
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.
AI Analysis
Technical Summary
This vulnerability in Red Hat Build of Keycloak arises from a memory leak in the SAML Redirect Binding's DEFLATE compression and decompression helpers, which do not release native zlib memory after use. An attacker without authentication can repeatedly send malformed SAML requests to exhaust native memory, causing a denial of service by crashing or hanging the Keycloak process. The root cause is the failure to explicitly release native zlib resources in the SAML DEFLATE helper classes. Red Hat has published an advisory confirming the issue and its impact but currently does not provide a patch or mitigation that meets their standards.
Potential Impact
Successful exploitation results in a denial of service condition by exhausting native memory of the Keycloak process, causing it to crash, hang, or become unstable. There is no impact on confidentiality or integrity. The vulnerability can be triggered remotely without authentication.
Mitigation Recommendations
Red Hat currently states that no mitigation is available or that existing options do not meet their criteria for ease of use, deployment, applicability, or stability. Users should monitor the Red Hat advisory for updates on fixes or mitigations. Until a fix is released, risk remains for denial of service via malformed SAML requests.
CVE-2026-18212: Missing Release of Memory after Effective Lifetime in Red Hat Red Hat build of Keycloak 26.4
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 v3.1
Score 7.5high
Affected software
Red Hat
Red Hat build of Keycloak 26.4
Red Hat
Red Hat build of Keycloak 26.4
Red Hat
Red Hat build of Keycloak 26.4.16
Red Hat
Red Hat build of Keycloak 26.6
Red Hat
Red Hat build of Keycloak 26.6
Red Hat
Red Hat build of Keycloak 26.6.7
Red Hat
Red Hat Data Grid 8
Red Hat
Red Hat JBoss Enterprise Application Platform Expansion Pack
Red Hat
Red Hat Single Sign-On 7
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Red Hat Build of Keycloak arises from a memory leak in the SAML Redirect Binding's DEFLATE compression and decompression helpers, which do not release native zlib memory after use. An attacker without authentication can repeatedly send malformed SAML requests to exhaust native memory, causing a denial of service by crashing or hanging the Keycloak process. The root cause is the failure to explicitly release native zlib resources in the SAML DEFLATE helper classes. Red Hat has published an advisory confirming the issue and its impact but currently does not provide a patch or mitigation that meets their standards.
Potential Impact
Successful exploitation results in a denial of service condition by exhausting native memory of the Keycloak process, causing it to crash, hang, or become unstable. There is no impact on confidentiality or integrity. The vulnerability can be triggered remotely without authentication.
Mitigation Recommendations
Red Hat currently states that no mitigation is available or that existing options do not meet their criteria for ease of use, deployment, applicability, or stability. Users should monitor the Red Hat advisory for updates on fixes or mitigations. Until a fix is released, risk remains for denial of service via malformed SAML requests.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-29T08:31:24.186Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-18212","vendor":"Red Hat"}]
Threat ID: 6aaaaf7355bf5e2cf5c3ac6c
Added to database: 09/16/2026, 15:02:11 UTC
Last enriched: 09/16/2026, 15:16:58 UTC
Last updated: 09/17/2026, 03:40:27 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.