{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7.2.14"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.0.10"
              },
              {
                "introduced": "8.1.0"
              },
              {
                "fixed": "8.1.9"
              },
              {
                "introduced": "9.0.0"
              },
              {
                "fixed": "9.0.5"
              },
              {
                "introduced": "9.1.0"
              },
              {
                "fixed": "9.1.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "2b5c7a0dbd61fd4281ef6166b7d119ba7fe7368c"
            },
            {
              "introduced": "67c8683792fc9ab7e295f833478eca180c5e4691"
            },
            {
              "introduced": "5018b12b0de2d2322a1bbf6b041c43740587c0f2"
            },
            {
              "introduced": "c9e8005e9d0ec817e26c7db318861cb821409249"
            },
            {
              "fixed": "499cfb9431c7cebec4d91f81bb4932a742a8c8ae"
            },
            {
              "fixed": "23b3f6bb66c19502225a40e7aeec9e1be76456c1"
            },
            {
              "fixed": "a9245aaf3286dee1795763661f0da6886acd8ef4"
            },
            {
              "fixed": "a253513ac7ff5790ca119053f3c7fbca4fdaad44"
            },
            {
              "fixed": "d27f9ba65a04e80d9c417112a7621fc98a56f70d"
            },
            {
              "fixed": "7cd5bcb7575d750ec2de618db80da58680a10fe3"
            }
          ],
          "repo": "https://github.com/valkey-io/valkey",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-53mc-f3m3-99vh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56684.json"
  },
  "details": "Valkey is a distributed key-value database. Prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, Valkey's tlsProcessPendingData function iterates pending_list while an authenticated client can trigger CLIENT KILL, causing connTLSClose to delete the iterator's cached next node and producing a use-after-free that can crash the server or potentially allow remote code execution when TLS is enabled. This issue is fixed in versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1.",
  "id": "CVE-2026-56684",
  "modified": "2026-08-20T03:30:29.771835258Z",
  "published": "2026-08-18T14:19:51.047Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/valkey-io/valkey/releases/tag/7.2.14"
    },
    {
      "type": "WEB",
      "url": "https://github.com/valkey-io/valkey/releases/tag/8.0.10"
    },
    {
      "type": "WEB",
      "url": "https://github.com/valkey-io/valkey/releases/tag/8.1.9"
    },
    {
      "type": "WEB",
      "url": "https://github.com/valkey-io/valkey/releases/tag/9.0.5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/valkey-io/valkey/releases/tag/9.1.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56684.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-53mc-f3m3-99vh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56684"
    },
    {
      "type": "FIX",
      "url": "https://github.com/valkey-io/valkey/commit/7cd5bcb7575d750ec2de618db80da58680a10fe3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/valkey-io/valkey/pull/4234"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Valkey: TLS pending-data processing use-after-free may allow remote code execution"
}