NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · vLLM

CVE-2025-62372: vLLM vulnerable to DoS with incorrect shape of multimodal embedding inputs

highCVSS 4.0 8.3 · 3.1 6.5GHSA-pmqf-x6x8-p7qw

vLLM from 0.5.5 up to 0.11.0 crashes its engine when a user sends multimodal embedding inputs with the right number of dimensions but the wrong shape. Any user who can call a multimodal model can take the server down, even if the model does not support embedding inputs. Upgrade to vLLM 0.11.1.

Published Nov 20, 2025 · Updated Jul 17, 2026 · Analysis Nov 1, 2026

What an attacker can do

The input processor, through MultiModalDataParser, checks only the ndim of an embedding tensor, not its full shape. A tensor whose hidden dimension is wrong passes that check and fails later, deep in the engine.

The failure depends on the model. For models that support image embedding inputs, the engine crashes when it scatters the embeddings into inputs_embeds because the shapes do not match. For models that do not support them, it crashes when get_input_embeddings validates the input and the validation fails. In both cases the whole engine dies, not just the one request.

The attacker needs network access to the API and low privileges, such as an API key, and a model served with multimodal input enabled. The code has had this gap since image embedding support was added in 0.5.5. The result is denial of service only: no data is exposed and no code runs. For a shared inference service, one malformed request can interrupt every user until the process restarts.

Who is affected

vLLM >= 0.5.5, < 0.11.1, when serving a multimodal model that accepts non-text input. Text-only deployments, or ones that set --limit-mm-per-prompt to 0 for all non-text modalities, do not take the input path.

pip show vllm

vllm

Ecosystem
PyPI
Affected
>= 0.5.5, < 0.11.1
Fixed in
0.11.1
Check
pip show vllm

How to fix it

Upgrade to vLLM 0.11.1:

pip install --upgrade "vllm>=0.11.1"

The resolution is pull request 27204. The advisory gives two mitigations if you cannot upgrade yet. Require an API key, which limits access to trusted users. Or set --limit-mm-per-prompt to 0 for every non-text modality, which blocks multimodal embedding inputs but leaves the model accepting only text.

How to tell if you were hit

Look for unexpected engine crashes or restarts of the vLLM process, with a shape mismatch error from the embedding scatter into inputs_embeds or from get_input_embeddings validation in the traceback, shortly after a multimodal request. In API logs, look at requests that carry image or other embedding tensors from users who normally send images or text. A repeated crash-restart pattern tied to one client or key points to deliberate abuse. Check versions with pip show vllm.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Users can crash the vLLM engine serving multimodal models by passing multimodal embedding inputs with correct ndim but incorrect shape (e.g. hidden dimension is wrong), regardless of whether the model is intended to support such inputs (as defined in the Supported Models page).

The issue has existed ever since we added support for image embedding inputs, i.e. #6613 (released in v0.5.5)

Details

Using image embeddings as an example:

  • For models that support image embedding inputs, the engine crashes when scattering the embeddings to inputs_embeds (mismatched shape)
  • For models that don't support image embedding inputs, the engine crashes when validating the inputs inside get_input_embeddings (validation fails).

This happens because we only validate ndim of the tensor, but not the full shape, in input processor (via MultiModalDataParser).

Impact

  • Denial of service by crashing the engine

Mitigation

  • Use API key to limit access to trusted users.
  • Set --limit-mm-per-prompt to 0 for all non-text modalities to ban multimodal inputs, which includes multimodal embedding inputs. However, the model would then only accept text, defeating the purpose of using a multi-modal model.

Resolution

  • https://github.com/vllm-project/vllm/pull/27204

Credited to DarkLight1337, ywang96, Isotr0py, russellb.

Questions

Does CVE-2025-62372 allow code execution?

No. The advisory lists denial of service by crashing the engine as the only impact.

Am I safe if my model does not support image embeddings?

No. The advisory says the crash happens whether or not the model is meant to support such inputs. Unsupported models fail in get_input_embeddings validation and still take the engine down.

Is there a workaround?

Yes: use an API key so only trusted users can reach the server, or set --limit-mm-per-prompt to 0 for all non-text modalities, at the cost of text-only operation.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More vLLM vulnerabilities

All vLLM entries