# CVE-2026-7141: vLLM KV Block kv\_cache\_interface.py has\_mamba\_layers uninitialized resource

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.50% (percentile 35, 2026-11-26)
- **CWE:** CWE-908
- **Aliases:** GHSA-x368-4g9h-fvv4, PYSEC-2026-2306
- **Published:** 2026-04-27T16:45:12.662Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Projects that depend on PyPI package vllm (\< 0.19.1)
- Anyone running vLLM 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; …

## Description

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."

## Affected and fixed versions

- PyPI `vllm`: affected \< 0.19.1; fixed 0.19.1 (osv)
- vLLM: 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; … (cvelist)

## Mitigation

- Upgrade vllm to 0.19.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-7141. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-7141.md
Affected: vllm < 0.19.1
Fixed in: 0.19.1

Steps:
1. Search this machine and project for vllm (PyPI), vLLM: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-7141 being exploited?

There is no confirmed exploitation: CVE-2026-7141 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-7141?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-7141?

vllm \< 0.19.1.

### Is there a fix for CVE-2026-7141?

Yes. Fixed in 0.19.1. Upgrade vllm to 0.19.1 or later.

### How do I check if I'm affected by CVE-2026-7141?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://vuldb.com/submit/801297>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-7141>
- vendor: <https://github.com/advisories/GHSA-x368-4g9h-fvv4>
- patch: <https://github.com/vllm-project/vllm/pull/39283>
- patch: <https://github.com/AjAnubolu/vllm/commit/1ad67864c0c20f167929e64c875f5c28e1aad9fd>
- exploit: <https://github.com/vllm-project/vllm/issues/39146#issue-4215090365>
- article: <https://vuldb.com/vuln/359740>
- other: <https://vuldb.com/vuln/359740/cti>
- other: <https://vuldb.com/cve/CVE-2026-7141>
- other: <https://github.com/vllm-project/vllm/issues/39146>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-7141>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x368-4g9h-fvv4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2306> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-7141> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-7141>
