# vLLM: speculative decoding with a grammar could crash the shared engine (GHSA-55m4-88pw-2875)

By Vadim Nareyko, founder, Arviser. Published 2026-12-02 · Updated 2026-12-02 · Last reviewed 2026-12-02

**From the record**.

## Facts

- Alert note: KB-N-0007 · AI applications
- Record published: 2026-11-29 · GHSA-55m4-88pw-2875 published by the vLLM project as a repository advisory, high, CVSS 3.1 7.5, no CVE (https://github.com/vllm-project/vllm/security/advisories/GHSA-55m4-88pw-2875)
- Fix: 2026-11-07 · Pull request 63373, "Remove Model Runner V1", merged (https://github.com/vllm-project/vllm/pull/63373)
- Fix: 2026-11-16 · vllm 0.34.0 released, without Model Runner V1 (https://github.com/vllm-project/vllm/releases/tag/v0.34.0)
- GitHub advisory: [GHSA-55m4-88pw-2875](https://github.com/vllm-project/vllm/security/advisories/GHSA-55m4-88pw-2875)
- CWE: [CWE-754](https://cwe.mitre.org/data/definitions/754.html)
- Record: [GHSA-55m4-88pw-2875](https://github.com/vllm-project/vllm/security/advisories/GHSA-55m4-88pw-2875), "Remote DoS in vLLM via speculative-token padding to -1", repository advisory published 2026-11-29. No CVE
- Severity: High, CVSS 3.1 7.5 (`AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`), in the project's own record, the only source that scores it. CWE-754 (Improper Check for Unusual or Exceptional Conditions)
- Affected: `vllm` on PyPI from 0.17.1 up to, not including, 0.34.0, when Model Runner V1 runs. 0.17.1 is the version the report confirmed
- Fixed: 0.34.0, released 2026-11-16, which removes Model Runner V1 ([pull request 63373](https://github.com/vllm-project/vllm/pull/63373)). It is the current release
- Exploited: No CVE, so not eligible for CISA KEV
- In scanner databases: Not in GitHub's global advisory database or OSV, and PyPI lists no vulnerability for `vllm` 0.33.0, as of 2026-12-02 10:44 UTC
- Checked: 2026-12-02 ~10:44 UTC

## What happened

vLLM serves large language models over an OpenAI-compatible API. Its advisory of 29 November says Model Runner V1 (MRV1), one of two GPU model runners, could crash when speculative decoding met a grammar (structured output). Draft slots the grammar rejected were padded with `-1` instead of removed, and the worker crashed on the GPU. One affected request can stop the engine worker, interrupting other requests until it restarts.

## Who is affected

The record's three conditions:

- `vllm` 0.17.1 up to, not including, 0.34.0.
- Speculative decoding on. Off by default, it is on when the launch sets `--speculative-config` (or `-sc`) or, from 0.22.0, any of `--spec-method`, `--spec-model` or `--spec-tokens`, when a YAML file passed with `--config` or Python code sets `speculative_config` or one of those three keys, or when the served model is a Speculators checkpoint (a `speculators_config` key in its `config.json`).
- The engine running MRV1. Model Runner V2 became the default for all models in 0.29.0 and on ROCm in 0.32.0; before that MRV1 ran some or all models. From 0.29.0 to 0.33.0, vLLM still picks MRV1 when `VLLM_USE_V2_MODEL_RUNNER=0` is set, when Triton is missing, for a feature MRV2 did not support yet, or on ROCm up to 0.31.0 for some DeepSeek and GLM architectures.

Our advice: if others can send the server requests, treat it as exposed even if your application never uses structured output.

## Am I affected?

Where the server runs:

```sh
vllm --version
```

For the official image, `docker exec YOUR-CONTAINER vllm --version`.

- 0.34.0 or later: MRV1 is removed, fixed for this record.
- 0.17.1 to 0.33.0: inside the range. Check further.
- Below 0.17.1: outside the confirmed range, not stated safe. Our advice: upgrade.
- An `rc` or `dev` build below 0.34.0: the version does not show whether MRV1 remains. Our advice: treat it as affected.
- `command not found`: wrong environment.

Next, search, ignoring case, everywhere your deployment sets vLLM's arguments for `spec` and `-sc`: the launch command, a compose file or Kubernetes manifest, Helm or other wrapper values, environment variables (the SageMaker image reads `SM_VLLM_*`), the `--config` file and the Python code; and the model's `config.json` for `speculators_config`. A match setting a speculative-decoding option named above means it is on. To show it is off, use the startup log line containing "with config:". "V1 LLM engine" in that line is the engine, not Model Runner V1. `speculative_config=None` there: the record's speculative-decoding condition does not hold. No such line, for example with the log level above INFO, proves nothing.

No log line proves Model Runner V2: `VLLM_USE_V2_MODEL_RUNNER=0` selects MRV1 without one. Our advice: with speculative decoding on and a version inside the range, treat the server as affected.

At our check no scanner database listed this record, so audit tools stay silent.

## Fix, and what the upgrade does not do

Upgrade to 0.34.0 (PyPI and `vllm/vllm-openai:v0.34.0`, 16 November). The advisory gives no workaround.

A separate medium-severity record, CVE-2026-139818, assigned by VulDB on 30 November for vLLM's multimodal processing, lists 0.34.0 as affected and names 0.34.1rc0 as the fix. At our check that version was a git tag only, not on PyPI or Docker Hub, and the record carried no package range, so audit tools do not flag 0.34.0 for it.

What can stop on the way, from the 0.34.0 release notes and pull request 63373:

- `VLLM_USE_V2_MODEL_RUNNER=0` now fails at startup. Remove it.
- Features that ran only on MRV1 now raise an error or are gone: the `custom_class` speculative method, `use_heterogeneous_vocab`, `disable_padded_drafter_batch`, `parallel_drafting` outside DFlash and DSpark, pipeline parallelism with `external_launcher`, x86 CPUs without Triton, `NGramPerReqLogitsProcessor`, pooling tasks outside the MRV2 set, and Dual Batch Overlap combinations MRV2 does not support. V1 custom logits processors must be ported.
- The default `--block-size` is 64 (was 16), `gpu_memory_utilization` defaults to 1.0, `huggingface_hub` 2.0.0 or newer is required, ROCm 7.2 builds are gone, and `fp_quant` checkpoints no longer load.
- Marlin W4A8 and `VLLM_MARLIN_INPUT_DTYPE` (use `--quantization humming`) and Keye-VL models are removed. Clients see `llama3_json` tool arguments no longer streamed, and `/v1/systemone` rejects request-supplied chat templates without `--trust-request-chat-template`.
- Adapters with LoRA weights on modules vLLM does not wrap are refused; loading one with `--lora-modules` stops startup.

The 0.34.0 notes list more: read their "All breaking changes, deprecations and new defaults" list before upgrading.

From older versions: 0.32.0 dropped Python 3.10 and restricted the default CORS origins, and 0.33.0 stopped publishing CUDA 12.9 wheels and `-cu129` images. On Python 3.10, pip cannot install 0.32.0 or later, so an unpinned upgrade can end at 0.31.0; check the version. Release notes up to 0.34.0 list more breaking changes, but not every removed option. Our advice: test 0.34.0 with your exact settings first. A server using tree speculation (`speculative_token_tree`, gone in 0.21.0), the Medusa or MLP speculator methods (gone in 0.33.0) or a Speculators checkpoint naming a local verifier (refused from 0.33.0) will not start; for the latter, select the verifier with `--model` and the draft with `--speculative-config`.

A pinned image tag does not move: change it and redeploy.

## Sources

Opened 2026-12-02 between 08:33 and 10:44 UTC. Only records, release notes, registry data and source code were read; nothing was run against vLLM. GitHub advisory data: CC BY 4.0.

- Repository advisory API, GHSA-55m4-88pw-2875, vllm-project/vllm: https://api.github.com/repos/vllm-project/vllm/security-advisories/GHSA-55m4-88pw-2875 (accessed 2026-12-02)
- GitHub global advisory API, GHSA-55m4-88pw-2875, 404 at our check: https://api.github.com/advisories/GHSA-55m4-88pw-2875 (accessed 2026-12-02)
- OSV API, GHSA-55m4-88pw-2875, not found at our check: https://api.osv.dev/v1/vulns/GHSA-55m4-88pw-2875 (accessed 2026-12-02)
- PyPI JSON API, vllm (release history, vulnerabilities of 0.33.0 and 0.34.0, Python requirement per release): https://pypi.org/pypi/vllm/json (accessed 2026-12-02)
- vLLM pull request 63373, Remove Model Runner V1: https://github.com/vllm-project/vllm/pull/63373 (accessed 2026-12-02)
- vLLM release notes, v0.34.0: https://github.com/vllm-project/vllm/releases/tag/v0.34.0 (accessed 2026-12-02)
- vLLM pull request 42121, Remove tree attention: https://github.com/vllm-project/vllm/pull/42121 (accessed 2026-12-02)
- vLLM pull request 61587, Reject local verifier references in Speculators metadata: https://github.com/vllm-project/vllm/pull/61587 (accessed 2026-12-02)
- vLLM pull request 63489, Refuse adapters with LoRA on modules vLLM does not wrap: https://github.com/vllm-project/vllm/pull/63489 (accessed 2026-12-02)
- vLLM release notes, v0.22.0, v0.25.0, v0.29.0, v0.32.0 and v0.33.0 (Model Runner V2 defaults, Python 3.10 and CUDA 12.9 dropped): https://github.com/vllm-project/vllm/releases (accessed 2026-12-02)
- vLLM source at v0.33.0: runner selection in vllm/config/vllm.py: https://github.com/vllm-project/vllm/blob/v0.33.0/vllm/config/vllm.py (accessed 2026-12-02)
- vLLM source at v0.33.0: speculative_config default and --speculative-config in vllm/engine/arg_utils.py, also read at v0.17.1 and v0.28.0: https://github.com/vllm-project/vllm/blob/v0.33.0/vllm/engine/arg_utils.py (accessed 2026-12-02)
- vLLM source: --spec-method, --spec-model and --spec-tokens in vllm/engine/arg_utils.py at v0.22.0 and v0.33.0: https://github.com/vllm-project/vllm/blob/v0.22.0/vllm/engine/arg_utils.py (accessed 2026-12-02)
- vLLM source at v0.29.0 and v0.31.0: ROCm architectures that default to Model Runner V1, in vllm/config/vllm.py: https://github.com/vllm-project/vllm/blob/v0.31.0/vllm/config/vllm.py (accessed 2026-12-02)
- vLLM source at v0.33.0: the startup line with the engine config, in vllm/v1/engine/core.py: https://github.com/vllm-project/vllm/blob/v0.33.0/vllm/v1/engine/core.py (accessed 2026-12-02)
- vLLM release notes, v0.32.0 (breaking changes): https://github.com/vllm-project/vllm/releases/tag/v0.32.0 (accessed 2026-12-02)
- vLLM release notes, v0.33.0 (Medusa and the MLP speculator removed; CUDA 12.9 builds dropped): https://github.com/vllm-project/vllm/releases/tag/v0.33.0rc3 (accessed 2026-12-02)
- vLLM source: vllm/config/speculative.py at v0.32.0 and v0.33.0 (speculative methods): https://github.com/vllm-project/vllm/blob/v0.33.0/vllm/config/speculative.py (accessed 2026-12-02)
- vLLM SageMaker image entry script at v0.33.0 (SM_VLLM_ environment variables become vllm serve arguments): https://github.com/vllm-project/vllm/blob/v0.33.0/examples/deployment/sagemaker-entrypoint.sh (accessed 2026-12-02)
- vLLM source at v0.33.0: Speculators checkpoint detection in vllm/transformers_utils/config.py: https://github.com/vllm-project/vllm/blob/v0.33.0/vllm/transformers_utils/config.py (accessed 2026-12-02)
- vLLM docs at v0.33.0, Speculators: https://github.com/vllm-project/vllm/blob/v0.33.0/docs/features/speculative_decoding/speculators.md (accessed 2026-12-02)
- vLLM Dockerfile at v0.33.0, the command the image starts with: https://github.com/vllm-project/vllm/blob/v0.33.0/docker/Dockerfile (accessed 2026-12-02)
- Docker Hub API, vllm/vllm-openai tags: https://hub.docker.com/v2/repositories/vllm/vllm-openai/tags (accessed 2026-12-02)
- CVE record CVE-2026-139818 (VulDB), CVE program API: https://cveawg.mitre.org/api/cve/CVE-2026-139818 (accessed 2026-12-02)
- NVD, CVE-2026-139818, secondary: https://nvd.nist.gov/vuln/detail/CVE-2026-139818 (accessed 2026-12-02)
- GitHub global advisory GHSA-73vm-hrfq-9rf9 (CVE-2026-139818), unreviewed, no package range: https://api.github.com/advisories/GHSA-73vm-hrfq-9rf9 (accessed 2026-12-02)
- OSV, CVE-2026-139818 (git ranges only, no PyPI range): https://api.osv.dev/v1/vulns/CVE-2026-139818 (accessed 2026-12-02)
- vLLM commit dfbda4bf, the fix CVE-2026-139818 names (in tag v0.34.1rc0, not in v0.34.0): https://github.com/vllm-project/vllm/commit/dfbda4bfc667d74e831075b6dbaf3caa5d659482 (accessed 2026-12-02)
- Repository advisories GHSA-f2g9-pmwr-xwc7 and GHSA-497v-rww5-557q, vllm-project/vllm: https://github.com/vllm-project/vllm/security/advisories (accessed 2026-12-02)

## Corrections

No corrections.

How this page was made: Claude Opus 5.5, an AI model, wrote this note from the sources listed. Separate AI agents checked it against the sources, the note was corrected after each check, and the last check of this text found no errors. Vadim Nareyko approved the template on 27 November and decided on 2 December that the note mentions a second vLLM record in one sentence; he did not review the rest of this note before publication.

Text and data on this page: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Quoted third-party material keeps its own terms.
