{
  "id": "CVE-2026-18212",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-18212",
  "published_at": "2026-09-16T14:54:15.431Z",
  "title": "Keycloak-services: keycloak-services: saml redirect deflate helpers leak native zlib state",
  "vendor": "Red Hat",
  "product": "Red Hat build of Keycloak 26.4",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-401",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4.16-2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4-26"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.4",
        "ranges": null,
        "fixed_in": [
          "26.4-26"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.6",
        "ranges": null,
        "fixed_in": [
          "26.6.7-3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.6",
        "ranges": null,
        "fixed_in": [
          "26.6-20"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.6",
        "ranges": null,
        "fixed_in": [
          "26.6-20"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4.16-2 or later.",
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4-26 or later.",
      "Upgrade Red Hat build of Keycloak 26.4 to 26.4-26 or later.",
      "Upgrade Red Hat build of Keycloak 26.6 to 26.6.7-3 or later.",
      "Upgrade Red Hat build of Keycloak 26.6 to 26.6-20 or later.",
      "Upgrade Red Hat build of Keycloak 26.6 to 26.6-20 or later."
    ],
    "workarounds": [
      "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."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:68276"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:68277"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:68278"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:68280"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
