Skip to content
Heist/ feed
Back to feed
Low

vLLM KV Block kv_cache_interface.py has_mamba_layers uninitialized resource

Type: advisorySources: OSV

A vulnerability was found in vLLM up to 0.19.0. The affected element is the function has_mamba_layers of the file vllm/v1/kv_cache_interface.py of the component KV Block Handler. Performing a manipulation results in uninitialized resource. It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitability is described as difficult. The exploit has been made public and could be used. The existence of this vulnerability is still disputed at present. The proposed patch did not fix the issue. A 3rd party explains: "The divergence could be explained by a benign and expected vLLM behavior where vLLM server could group concurrent requests together resulting in different input shapes based on varying request arrival time. The differences in grouped input shapes could call different kernels with could produce difference results due to rounding and differences in order of operations. There is an environment variable VLLM_BATCH_INVARIANT=1 for users that desire to have deterministic output with temperature 0.0."

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-7141
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 21:58 UTC · Revision 1

Source evidence

vLLM KV Block kv_cache_interface.py has_mamba_layers uninitialized resource

core-osv · Original source

Published 27 Apr 2026, 16:45 UTC

A vulnerability was found in vLLM up to 0.19.0. The affected element is the function has_mamba_layers of the file vllm/v1/kv_cache_interface.py of the component KV Block Handler. Performing a manipulation results in uninitialized resource. It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitability is described as difficult. The exploit has been made public and could be used. The existence of this vulnerability is still disputed at present. The proposed patch did not fix the issue. A 3rd party explains: "The divergence could be explained by a benign and expected vLLM behavior where vLLM server could group concurrent requests together resulting in different input shapes based on varying request arrival time. The differences in grouped input shapes could call different kernels with could produce difference results due to rounding and differences in order of operations. There is an environment variable VLLM_BATCH_INVARIANT=1 for users that desire to have deterministic output with temperature 0.0."

osv:CVE-2026-7141
Complete source record
{
  "id": "af8d94058a0023742d5ce20747fd6c53313087c51385ef529215f2acc1acd85e",
  "url": "https://osv.dev/vulnerability/CVE-2026-7141",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vLLM KV Block kv_cache_interface.py has_mamba_layers uninitialized resource",
    "summary": "A vulnerability was found in vLLM up to 0.19.0. The affected element is the function has_mamba_layers of the file vllm/v1/kv_cache_interface.py of the component KV Block Handler. Performing a manipulation results in uninitialized resource. It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitability is described as difficult. The exploit has been made public and could be used. The existence of this vulnerability is still disputed at present. The proposed patch did not fix the issue. A 3rd party explains: \"The divergence could be explained by a benign and expected vLLM behavior where vLLM server could group concurrent requests together resulting in different input shapes based on varying request arrival time. The differences in grouped input shapes could call different kernels with could produce difference results due to rounding and differences in order of operations. There is an environment variable VLLM_BATCH_INVARIANT=1 for users that desire to have deterministic output with temperature 0.0.\"",
    "evidence": "osv:CVE-2026-7141",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-7141",
      "aliases": [
        "CVE-2026-7141",
        "GHSA-x368-4g9h-fvv4",
        "PYSEC-2026-2306"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vllm-project/vllm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "67d96c29fba9b72cb4c4edbc26211c208a00ebdd"
                },
                {
                  "last_affected": "2a69949bdadf0e8942b7a1619b229cb475beef20"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.1"
                      },
                      {
                        "last_affected": "0.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.2"
                      },
                      {
                        "last_affected": "0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.3"
                      },
                      {
                        "last_affected": "0.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.4"
                      },
                      {
                        "last_affected": "0.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.5"
                      },
                      {
                        "last_affected": "0.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.6"
                      },
                      {
                        "last_affected": "0.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.7"
                      },
                      {
                        "last_affected": "0.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.8"
                      },
                      {
                        "last_affected": "0.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.9"
                      },
                      {
                        "last_affected": "0.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.10"
                      },
                      {
                        "last_affected": "0.10"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.11"
                      },
                      {
                        "last_affected": "0.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.12"
                      },
                      {
                        "last_affected": "0.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.13"
                      },
                      {
                        "last_affected": "0.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.14"
                      },
                      {
                        "last_affected": "0.14"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.15"
                      },
                      {
                        "last_affected": "0.15"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.16"
                      },
                      {
                        "last_affected": "0.16"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.17"
                      },
                      {
                        "last_affected": "0.17"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.18"
                      },
                      {
                        "last_affected": "0.18"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.19.0"
                      },
                      {
                        "last_affected": "0.19.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.19.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.1",
            "0.10",
            "0.11",
            "0.12",
            "0.13",
            "0.14",
            "0.15",
            "0.16",
            "0.17",
            "0.18",
            "0.19.0",
            "0.2",
            "0.3",
            "0.4",
            "0.5",
            "0.6",
            "0.7",
            "0.8",
            "0.9",
            "v0.19.0",
            "v0.19.0rc1",
            "v0.19.0rc0",
            "v0.18.1rc0",
            "v0.17.2rc0",
            "v0.18.0rc0",
            "v0.17.1rc0",
            "v0.17.0rc0",
            "v0.16.0rc1",
            "v0.15.2rc0",
            "v0.16.0rc0",
            "v0.15.0rc1",
            "v0.14.0rc1",
            "v0.14.0rc0",
            "v0.13.0rc1",
            "v0.11.1",
            "v0.11.1rc6",
            "v0.11.1rc5",
            "v0.11.1rc4",
            "v0.11.1rc3",
            "v0.11.1rc2",
            "v0.11.1rc1",
            "v0.11.1rc0",
            "v0.11.0rc1",
            "v0.10.2rc2",
            "v0.10.2rc1",
            "v0.10.1rc1",
            "v0.10.0rc2",
            "v0.10.0",
            "v0.10.0rc1",
            "v0.9.2rc1",
            "v0.9.1rc2",
            "v0.9.1",
            "v0.9.1rc1",
            "v0.9.0",
            "v0.8.4",
            "v0.8.3rc1",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0rc2",
            "v0.8.0rc1",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.6.post1",
            "v0.6.6",
            "v0.6.5",
            "v0.6.4.post1",
            "v0.6.4",
            "v0.6.3.post1",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1.post2",
            "v0.6.1.post1",
            "v0.6.1",
            "v0.6.0",
            "v0.5.5",
            "v0.5.4",
            "v0.5.3.post1",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0.post1",
            "v0.5.0",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0.post1",
            "v0.4.0",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.7",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7141.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.145540231Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7141.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-7141",
        "https://vuldb.com/cve/CVE-2026-7141",
        "https://vuldb.com/submit/801297",
        "https://vuldb.com/vuln/359740",
        "https://github.com/vllm-project/vllm/issues/39146",
        "https://github.com/vllm-project/vllm/issues/39146#issue-4215090365",
        "https://vuldb.com/vuln/359740/cti"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-908"
        ],
        "isDisputed": true,
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7141.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-7141",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499096,
  "published_at": "2026-04-27T16:45:12.662+00:00"
}