CVE-2026-18212

Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state

State
Published
Severity
7.5 High
Published
Sep 16, 2026
Updated
Sep 16, 2026
Reserved
Jul 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
Red Hat build of Keycloak 26.4Red Hat
  • 26.4.16-2 and laterNot affected
Red Hat build of Keycloak 26.4Red Hat
  • 26.4-26 and laterNot affected
Red Hat build of Keycloak 26.4Red Hat
  • 26.4-26 and laterNot affected
Red Hat build of Keycloak 26.4.16Red Hat
    Red Hat build of Keycloak 26.4.16Red Hat
      Red Hat build of Keycloak 26.6Red Hat
      • 26.6.7-3 and laterNot affected
      Red Hat build of Keycloak 26.6Red Hat
      • 26.6-20 and laterNot affected
      Red Hat build of Keycloak 26.6Red Hat
      • 26.6-20 and laterNot affected
      Red Hat build of Keycloak 26.6.7Red Hat
        Red Hat build of Keycloak 26.6.7Red Hat
          Red Hat build of Keycloak 26.6.7Red Hat
            Red Hat Data Grid 8Red Hat
              Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
                Red Hat Single Sign-On 7Red Hat

                  References

                  Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.