Skip to content
Heist/ feed
Back to feed
High

Valkey Affected by RESP Protocol Injection via Lua error_reply

Type: advisorySources: OSV

Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corrupting or returning tampered data to other users on the same connection. The error handling code for lua scripts does not properly handle null characters. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-67733
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:11 UTC · Revision 1

Source evidence

Valkey Affected by RESP Protocol Injection via Lua error_reply

core-osv · Original source

Published 23 Feb 2026, 19:39 UTC

Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corrupting or returning tampered data to other users on the same connection. The error handling code for lua scripts does not properly handle null characters. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue.

osv:CVE-2025-67733
Complete source record
{
  "id": "9d903bb0752b2b6e6e203ecd7d440c9e5942db6cfd7bb7acf24a346629df420f",
  "url": "https://osv.dev/vulnerability/CVE-2025-67733",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Valkey Affected by RESP Protocol Injection via Lua error_reply",
    "summary": "Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corrupting or returning tampered data to other users on the same connection. The error handling code for lua scripts does not properly handle null characters. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue.",
    "evidence": "osv:CVE-2025-67733",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-67733",
      "aliases": [
        "BIT-valkey-2025-67733",
        "CVE-2025-67733",
        "GHSA-p876-p7q5-hv2m"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/valkey-io/valkey",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7b696d1a4f8b2a5b5393dba7c6706f7aa8599013"
                },
                {
                  "introduced": "2b5c7a0dbd61fd4281ef6166b7d119ba7fe7368c"
                },
                {
                  "fixed": "d77c7aaf01d273d2480aeabf5ed578aa0133d9a1"
                },
                {
                  "introduced": "67c8683792fc9ab7e295f833478eca180c5e4691"
                },
                {
                  "fixed": "19b07dfcbb75b14a1ed1b0a48cb8a0efcc81d563"
                },
                {
                  "introduced": "5018b12b0de2d2322a1bbf6b041c43740587c0f2"
                },
                {
                  "fixed": "1ac4cfe4c877a6cb8cb2e28fa7094055ac06f64b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "7.2.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.0.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0"
                      },
                      {
                        "fixed": "8.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "8.1.5",
            "9.0.1",
            "9.0.0",
            "7.2.11",
            "8.0.6",
            "8.1.4",
            "7.2.10",
            "8.0.5",
            "8.0.4",
            "8.1.3",
            "8.0.3",
            "8.1.2",
            "7.2.9",
            "8.1.1",
            "8.1.0",
            "7.2.8",
            "8.0.2",
            "7.2.7",
            "8.0.1",
            "8.0.0",
            "7.2.6",
            "7.2.5",
            "7.2.5-rc1",
            "7.2.4-rc1",
            "7.2.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67733.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.638139555Z",
      "provider": "osv",
      "references": [
        "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-67733.json",
        "https://access.redhat.com/errata/RHSA-2026:3443",
        "https://access.redhat.com/errata/RHSA-2026:3507",
        "https://access.redhat.com/errata/RHSA-2026:5445",
        "https://access.redhat.com/security/cve/CVE-2025-67733",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67733.json",
        "https://github.com/valkey-io/valkey/security/advisories/GHSA-p876-p7q5-hv2m",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-67733",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2442025"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67733.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-67733",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489003,
  "published_at": "2026-02-23T19:39:29.136+00:00"
}