CVE-2026-7141: vLLM KV Block kv_cache_interface.py has_mamba_layers uninitialized resource

Published Apr 27, 2026
·
Updated

A vulnerability was found in vLLM up to 0.19.0. The affected element is the function hasmambalayers of the file vllm/v1/kvcacheinterface.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 VLLMBATCHINVARIANT=1 for users that desire to have deterministic output with temperature 0.0."

Affected Software

2 affected components
pypi/vllm<=0.19.0
vllm vllm<=0.19.0

Event History

Apr 27, 2026
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-7141?

CVE-2026-7141 has been classified with a moderate severity due to potential exploitation leading to resource mismanagement.

2

How do I fix CVE-2026-7141?

To fix CVE-2026-7141, upgrade vllm to version 0.19.1 or higher where the vulnerability has been addressed.

3

What kind of vulnerability is CVE-2026-7141?

CVE-2026-7141 is a resource initialization vulnerability related to the KV Block Handler in the vllm library.

4

Which versions of vllm are affected by CVE-2026-7141?

CVE-2026-7141 affects all versions of vllm up to and including 0.19.0.

5

What component in vllm is vulnerable in CVE-2026-7141?

The vulnerable component in CVE-2026-7141 is the has_mamba_layers function in the kv_cache_interface.py file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203