Search

Find a vulnerability

Search criteria

    12 vulnerabilities by Valkey

    CVE-2026-136158 (GCVE-0-2026-136158)

    Vulnerability from nvd – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath
    Summary
    In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers. An authenticated user who can run these commands can use this to reliably crash the server, and it has been developed into remote code execution as the user the server runs as. Servers that do not load the JSON module, including through valkey-bundle, are not affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey JSON Affected: 1.0.0 , < 1.0.3 (semver)
    Create a notification for this product.
    Date Public
    2026-08-31 23:59
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey JSON",
              "repo": "https://github.com/valkey-io/valkey-json",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "1.0.3",
                  "status": "affected",
                  "version": "1.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Joao Teles"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Pham Huong Giang"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Troy Coll of Heroku Data Services (Salesforce)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "zackcam"
            }
          ],
          "datePublic": "2026-08-31T23:59:19.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers. An authenticated user who can run these commands can use this to reliably crash the server, and it has been developed into remote code execution as the user the server runs as. Servers that do not load the JSON module, including through valkey-bundle, are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:29.651Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey-json/security/advisories/GHSA-q7rf-74qm-hr9g"
            },
            {
              "url": "https://github.com/valkey-io/valkey-json/pull/118"
            },
            {
              "url": "https://github.com/valkey-io/valkey-json/pull/120"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey JSON 1.0.3 or later, or to a valkey-bundle release that ships it."
            }
          ],
          "title": "Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath",
          "workarounds": [
            {
              "lang": "en",
              "value": "Use Valkey ACLs to restrict JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR if your application does not use them. Applications that pass user-controlled JSONPath expressions to these commands are the most exposed; limiting paths to non-recursive expressions also avoids the defect."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136158",
        "datePublished": "2026-11-24T14:06:29.651Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:29.651Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-136157 (GCVE-0-2026-136157)

    Vulnerability from nvd – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed
    Summary
    In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 8.0.0 , < 8.0.11 (semver)
    Affected: 8.1.0 , < 8.1.10 (semver)
    Affected: 9.0.0 , < 9.0.6 (semver)
    Affected: 9.1.0 , < 9.1.2 (semver)
    Create a notification for this product.
    Date Public
    2026-08-31 23:30
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "8.0.11",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.10",
                  "status": "affected",
                  "version": "8.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.0.6",
                  "status": "affected",
                  "version": "9.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.1.2",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Andreas Gabriel Berbescu"
            }
          ],
          "datePublic": "2026-08-31T23:30:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport\u0027s pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client\u0027s connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:28.848Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/4534"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later."
            }
          ],
          "title": "Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed",
          "workarounds": [
            {
              "lang": "en",
              "value": "If you do not need RDMA, build without USE_RDMA or do not configure an RDMA listener. Otherwise, use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136157",
        "datePublished": "2026-11-24T14:06:28.848Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:28.848Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-136156 (GCVE-0-2026-136156)

    Vulnerability from nvd – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow
    Summary
    In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode are not affected.
    CWE
    • CWE-197 - Numeric Truncation Error
    • CWE-122 - Heap-based Buffer Overflow
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 0 , < 7.2.15 (semver)
    Affected: 8.0.0 , < 8.0.12 (semver)
    Affected: 8.1.0 , < 8.1.11 (semver)
    Affected: 9.0.0 , < 9.0.7 (semver)
    Affected: 9.1.0 , < 9.1.3 (semver)
    Affected: 9.2.0-rc1 , < 9.2.0-rc2 (semver)
    Create a notification for this product.
    Date Public
    2026-10-26 22:49
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "7.2.15",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.0.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.11",
                  "status": "affected",
                  "version": "8.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.0.7",
                  "status": "affected",
                  "version": "9.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.1.3",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.2.0-rc2",
                  "status": "affected",
                  "version": "9.2.0-rc1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Nenad Stojanovski working with Trend Micro Zero Day Initiative"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Roshan Khatri"
            }
          ],
          "datePublic": "2026-10-26T22:49:43.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-197",
                  "description": "CWE-197 Numeric Truncation Error",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-122",
                  "description": "CWE-122 Heap-based Buffer Overflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:28.061Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/5030"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 or later."
            }
          ],
          "title": "Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow",
          "workarounds": [
            {
              "lang": "en",
              "value": "Use Valkey ACLs to restrict the scripting commands (EVAL, EVALSHA, EVAL_RO, EVALSHA_RO, FCALL, FCALL_RO and FUNCTION) if your application does not use them, and do not raise proto-max-bulk-len above its default."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136156",
        "datePublished": "2026-11-24T14:06:28.061Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:28.061Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-136155 (GCVE-0-2026-136155)

    Vulnerability from nvd – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cache
    Summary
    In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds its command table once and caches it with a pointer to the Lua interpreter state that was current at the time. SCRIPT FLUSH ASYNC recreates the scripting engine and frees the previous interpreter state without invalidating that cache, so the next debugger command dereferences freed memory. An authenticated user who can run scripting commands can use this to reliably crash the server, and by reclaiming the freed heap chunk with attacker-controlled bytes can escalate it to control of an indirect call, which may lead to remote code execution. The fix also addresses a second use-after-free in ldbLogStackValue. Valkey 8.0.x and 8.1.x use the previous debugger and are not affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 9.1.0 , < 9.1.2 (semver)
    Create a notification for this product.
    Date Public
    2026-08-31 23:36
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "9.1.2",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Trung Nguyen of CyStack"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Phuc Nguyen Dinh of CyStack"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Han Sang-Kyung"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Bara\u0027 Hasheesh"
            }
          ],
          "datePublic": "2026-08-31T23:36:20.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds its command table once and caches it with a pointer to the Lua interpreter state that was current at the time. SCRIPT FLUSH ASYNC recreates the scripting engine and frees the previous interpreter state without invalidating that cache, so the next debugger command dereferences freed memory. An authenticated user who can run scripting commands can use this to reliably crash the server, and by reclaiming the freed heap chunk with attacker-controlled bytes can escalate it to control of an indirect call, which may lead to remote code execution. The fix also addresses a second use-after-free in ldbLogStackValue. Valkey 8.0.x and 8.1.x use the previous debugger and are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:27.220Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-fq2f-crmw-q97r"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/4574"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 9.1.2 or later."
            }
          ],
          "title": "Valkey: Use-after-free of the Lua interpreter state through the script debugger\u0027s command cache",
          "workarounds": [
            {
              "lang": "en",
              "value": "Use Valkey ACLs to restrict the SCRIPT command, in particular SCRIPT DEBUG, if your application does not use the script debugger."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136155",
        "datePublished": "2026-11-24T14:06:27.220Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:27.220Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-130822 (GCVE-0-2026-130822)

    Vulnerability from nvd – Published: 2026-11-24 13:57 – Updated: 2026-11-24 13:57
    VLAI
    Title
    Valkey: Use-after-free when client eviction frees the client whose command is still executing
    Summary
    In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 0 , < 7.2.16 (semver)
    Affected: 8.0.0 , < 8.0.13 (semver)
    Affected: 8.1.0 , < 8.1.12 (semver)
    Affected: 9.0.0 , < 9.0.8 (semver)
    Affected: 9.1.0 , < 9.1.4 (semver)
    Affected: 9.2.0-rc1 , < 9.2.0 (semver)
    Create a notification for this product.
    Date Public
    2026-11-19 17:42
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "7.2.16",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.0.13",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.0.8",
                  "status": "affected",
                  "version": "9.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.1.4",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.2.0",
                  "status": "affected",
                  "version": "9.2.0-rc1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Nadav Levanoni"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nadav Levanoni"
            }
          ],
          "datePublic": "2026-11-19T17:42:05.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T13:57:55.729Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j"
            },
            {
              "url": "https://github.com/valkey-io/valkey/issues/5422"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/5435"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0 or later."
            }
          ],
          "title": "Valkey: Use-after-free when client eviction frees the client whose command is still executing",
          "workarounds": [
            {
              "lang": "en",
              "value": "Set maxmemory-clients to 0, which disables client eviction; if you do, make sure client-output-buffer-limit and maxmemory still bound client memory. If client eviction is required, use Valkey ACLs so that untrusted users cannot write to keys that other clients block on, and cannot run the blocking commands (BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, and XREAD or XREADGROUP with BLOCK)."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-130822",
        "datePublished": "2026-11-24T13:57:55.729Z",
        "dateReserved": "2026-11-17T17:23:33.028Z",
        "dateUpdated": "2026-11-24T13:57:55.729Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2025-49112 (GCVE-0-2025-49112)

    Vulnerability from nvd – Published: 2025-06-02 00:00 – Updated: 2025-06-02 16:58
    VLAI
    Summary
    setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-06-02 16:58 UTC
    CWE
    • CWE-191 - Integer Underflow (Wrap or Wraparound)
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 0 , ≤ 8.1.1 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-49112",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-06-02T16:58:09.115778Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-06-02T16:58:20.615Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unknown",
              "product": "Valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThanOrEqual": "8.1.1",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev-\u003esize - prev-\u003eused."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 3.1,
                "baseSeverity": "LOW",
                "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-191",
                  "description": "CWE-191 Integer Underflow (Wrap or Wraparound)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-06-02T04:11:34.330Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/blob/daea05b1e26db29bfd1c033e27f9d519a2f8ccbb/src/networking.c#L886"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/2101"
            },
            {
              "url": "https://github.com/redis/redis/blob/994bc96bb1744cb153392fc96bdba43eae56e17f/src/networking.c#L783"
            }
          ],
          "x_generator": {
            "engine": "enrichogram 0.0.1"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2025-49112",
        "datePublished": "2025-06-02T00:00:00.000Z",
        "dateReserved": "2025-06-02T00:00:00.000Z",
        "dateUpdated": "2025-06-02T16:58:20.615Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2026-136158 (GCVE-0-2026-136158)

    Vulnerability from cvelistv5 – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath
    Summary
    In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers. An authenticated user who can run these commands can use this to reliably crash the server, and it has been developed into remote code execution as the user the server runs as. Servers that do not load the JSON module, including through valkey-bundle, are not affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey JSON Affected: 1.0.0 , < 1.0.3 (semver)
    Create a notification for this product.
    Date Public
    2026-08-31 23:59
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey JSON",
              "repo": "https://github.com/valkey-io/valkey-json",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "1.0.3",
                  "status": "affected",
                  "version": "1.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Joao Teles"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Pham Huong Giang"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Troy Coll of Heroku Data Services (Salesforce)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "zackcam"
            }
          ],
          "datePublic": "2026-08-31T23:59:19.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers. An authenticated user who can run these commands can use this to reliably crash the server, and it has been developed into remote code execution as the user the server runs as. Servers that do not load the JSON module, including through valkey-bundle, are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:29.651Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey-json/security/advisories/GHSA-q7rf-74qm-hr9g"
            },
            {
              "url": "https://github.com/valkey-io/valkey-json/pull/118"
            },
            {
              "url": "https://github.com/valkey-io/valkey-json/pull/120"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey JSON 1.0.3 or later, or to a valkey-bundle release that ships it."
            }
          ],
          "title": "Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath",
          "workarounds": [
            {
              "lang": "en",
              "value": "Use Valkey ACLs to restrict JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR if your application does not use them. Applications that pass user-controlled JSONPath expressions to these commands are the most exposed; limiting paths to non-recursive expressions also avoids the defect."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136158",
        "datePublished": "2026-11-24T14:06:29.651Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:29.651Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-136157 (GCVE-0-2026-136157)

    Vulnerability from cvelistv5 – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed
    Summary
    In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 8.0.0 , < 8.0.11 (semver)
    Affected: 8.1.0 , < 8.1.10 (semver)
    Affected: 9.0.0 , < 9.0.6 (semver)
    Affected: 9.1.0 , < 9.1.2 (semver)
    Create a notification for this product.
    Date Public
    2026-08-31 23:30
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "8.0.11",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.10",
                  "status": "affected",
                  "version": "8.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.0.6",
                  "status": "affected",
                  "version": "9.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.1.2",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Andreas Gabriel Berbescu"
            }
          ],
          "datePublic": "2026-08-31T23:30:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport\u0027s pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client\u0027s connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:28.848Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-jcj7-v34w-v9vv"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/4534"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 8.0.11, 8.1.10, 9.0.6, 9.1.2 or later."
            }
          ],
          "title": "Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed",
          "workarounds": [
            {
              "lang": "en",
              "value": "If you do not need RDMA, build without USE_RDMA or do not configure an RDMA listener. Otherwise, use Valkey ACLs to restrict the CLIENT command, in particular CLIENT KILL."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136157",
        "datePublished": "2026-11-24T14:06:28.848Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:28.848Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-136156 (GCVE-0-2026-136156)

    Vulnerability from cvelistv5 – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow
    Summary
    In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode are not affected.
    CWE
    • CWE-197 - Numeric Truncation Error
    • CWE-122 - Heap-based Buffer Overflow
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 0 , < 7.2.15 (semver)
    Affected: 8.0.0 , < 8.0.12 (semver)
    Affected: 8.1.0 , < 8.1.11 (semver)
    Affected: 9.0.0 , < 9.0.7 (semver)
    Affected: 9.1.0 , < 9.1.3 (semver)
    Affected: 9.2.0-rc1 , < 9.2.0-rc2 (semver)
    Create a notification for this product.
    Date Public
    2026-10-26 22:49
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "7.2.15",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.0.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.11",
                  "status": "affected",
                  "version": "8.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.0.7",
                  "status": "affected",
                  "version": "9.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.1.3",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.2.0-rc2",
                  "status": "affected",
                  "version": "9.2.0-rc1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Nenad Stojanovski working with Trend Micro Zero Day Initiative"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Roshan Khatri"
            }
          ],
          "datePublic": "2026-10-26T22:49:43.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-197",
                  "description": "CWE-197 Numeric Truncation Error",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-122",
                  "description": "CWE-122 Heap-based Buffer Overflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:28.061Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-f4q9-j22m-xqq9"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/5030"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 or later."
            }
          ],
          "title": "Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow",
          "workarounds": [
            {
              "lang": "en",
              "value": "Use Valkey ACLs to restrict the scripting commands (EVAL, EVALSHA, EVAL_RO, EVALSHA_RO, FCALL, FCALL_RO and FUNCTION) if your application does not use them, and do not raise proto-max-bulk-len above its default."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136156",
        "datePublished": "2026-11-24T14:06:28.061Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:28.061Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-136155 (GCVE-0-2026-136155)

    Vulnerability from cvelistv5 – Published: 2026-11-24 14:06 – Updated: 2026-11-24 14:06
    VLAI
    Title
    Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cache
    Summary
    In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds its command table once and caches it with a pointer to the Lua interpreter state that was current at the time. SCRIPT FLUSH ASYNC recreates the scripting engine and frees the previous interpreter state without invalidating that cache, so the next debugger command dereferences freed memory. An authenticated user who can run scripting commands can use this to reliably crash the server, and by reclaiming the freed heap chunk with attacker-controlled bytes can escalate it to control of an indirect call, which may lead to remote code execution. The fix also addresses a second use-after-free in ldbLogStackValue. Valkey 8.0.x and 8.1.x use the previous debugger and are not affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 9.1.0 , < 9.1.2 (semver)
    Create a notification for this product.
    Date Public
    2026-08-31 23:36
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "9.1.2",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Trung Nguyen of CyStack"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Phuc Nguyen Dinh of CyStack"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Han Sang-Kyung"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Bara\u0027 Hasheesh"
            }
          ],
          "datePublic": "2026-08-31T23:36:20.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds its command table once and caches it with a pointer to the Lua interpreter state that was current at the time. SCRIPT FLUSH ASYNC recreates the scripting engine and frees the previous interpreter state without invalidating that cache, so the next debugger command dereferences freed memory. An authenticated user who can run scripting commands can use this to reliably crash the server, and by reclaiming the freed heap chunk with attacker-controlled bytes can escalate it to control of an indirect call, which may lead to remote code execution. The fix also addresses a second use-after-free in ldbLogStackValue. Valkey 8.0.x and 8.1.x use the previous debugger and are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T14:06:27.220Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-fq2f-crmw-q97r"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/4574"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 9.1.2 or later."
            }
          ],
          "title": "Valkey: Use-after-free of the Lua interpreter state through the script debugger\u0027s command cache",
          "workarounds": [
            {
              "lang": "en",
              "value": "Use Valkey ACLs to restrict the SCRIPT command, in particular SCRIPT DEBUG, if your application does not use the script debugger."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-136155",
        "datePublished": "2026-11-24T14:06:27.220Z",
        "dateReserved": "2026-11-24T13:53:38.491Z",
        "dateUpdated": "2026-11-24T14:06:27.220Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-130822 (GCVE-0-2026-130822)

    Vulnerability from cvelistv5 – Published: 2026-11-24 13:57 – Updated: 2026-11-24 13:57
    VLAI
    Title
    Valkey: Use-after-free when client eviction frees the client whose command is still executing
    Summary
    In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected.
    CWE
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 0 , < 7.2.16 (semver)
    Affected: 8.0.0 , < 8.0.13 (semver)
    Affected: 8.1.0 , < 8.1.12 (semver)
    Affected: 9.0.0 , < 9.0.8 (semver)
    Affected: 9.1.0 , < 9.1.4 (semver)
    Affected: 9.2.0-rc1 , < 9.2.0 (semver)
    Create a notification for this product.
    Date Public
    2026-11-19 17:42
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Valkey",
              "repo": "https://github.com/valkey-io/valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThan": "7.2.16",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.0.13",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.0.8",
                  "status": "affected",
                  "version": "9.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.1.4",
                  "status": "affected",
                  "version": "9.1.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "9.2.0",
                  "status": "affected",
                  "version": "9.2.0-rc1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Nadav Levanoni"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nadav Levanoni"
            }
          ],
          "datePublic": "2026-11-19T17:42:05.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T13:57:55.729Z",
            "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
            "shortName": "Akrites"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/security/advisories/GHSA-3885-pq5f-788j"
            },
            {
              "url": "https://github.com/valkey-io/valkey/issues/5422"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/5435"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "value": "Upgrade to Valkey 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0 or later."
            }
          ],
          "title": "Valkey: Use-after-free when client eviction frees the client whose command is still executing",
          "workarounds": [
            {
              "lang": "en",
              "value": "Set maxmemory-clients to 0, which disables client eviction; if you do, make sure client-output-buffer-limit and maxmemory still bound client memory. If client eviction is required, use Valkey ACLs so that untrusted users cannot write to keys that other clients block on, and cannot run the blocking commands (BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, and XREAD or XREADGROUP with BLOCK)."
            }
          ],
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "assignerShortName": "Akrites",
        "cveId": "CVE-2026-130822",
        "datePublished": "2026-11-24T13:57:55.729Z",
        "dateReserved": "2026-11-17T17:23:33.028Z",
        "dateUpdated": "2026-11-24T13:57:55.729Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2025-49112 (GCVE-0-2025-49112)

    Vulnerability from cvelistv5 – Published: 2025-06-02 00:00 – Updated: 2025-06-02 16:58
    VLAI
    Summary
    setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-06-02 16:58 UTC
    CWE
    • CWE-191 - Integer Underflow (Wrap or Wraparound)
    Impacted products
    Vendor Product Version
    Valkey Valkey Affected: 0 , ≤ 8.1.1 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-49112",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-06-02T16:58:09.115778Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-06-02T16:58:20.615Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unknown",
              "product": "Valkey",
              "vendor": "Valkey",
              "versions": [
                {
                  "lessThanOrEqual": "8.1.1",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev-\u003esize - prev-\u003eused."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 3.1,
                "baseSeverity": "LOW",
                "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-191",
                  "description": "CWE-191 Integer Underflow (Wrap or Wraparound)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-06-02T04:11:34.330Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://github.com/valkey-io/valkey/blob/daea05b1e26db29bfd1c033e27f9d519a2f8ccbb/src/networking.c#L886"
            },
            {
              "url": "https://github.com/valkey-io/valkey/pull/2101"
            },
            {
              "url": "https://github.com/redis/redis/blob/994bc96bb1744cb153392fc96bdba43eae56e17f/src/networking.c#L783"
            }
          ],
          "x_generator": {
            "engine": "enrichogram 0.0.1"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2025-49112",
        "datePublished": "2025-06-02T00:00:00.000Z",
        "dateReserved": "2025-06-02T00:00:00.000Z",
        "dateUpdated": "2025-06-02T16:58:20.615Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }