GHSA-542m-9234-8gvf
vLLM: DoS via unbounded chat_template Jinja2 rendering exhausts the renderer thread pool
Published Oct 28, 2026 · Source: GitHub Advisory Database (via OSV.dev). Data collected Sat, 28 Nov 2026 19:06:22 GMT.
The facts
| Advisory id | GHSA-542m-9234-8gvf |
|---|---|
| CVE | CVE-2026-115911 |
| Package | vllm PyPI: vllm |
| Published | Oct 28, 2026 |
| Source severity | MODERATE |
| Our severity | medium · 50 Advisory severity: MODERATE · Confidence: GitHub Advisory Database / OSV · See the rules |
| Fix | Fixed in 0.32.0 |
| Source | GitHub Advisory Database (via OSV.dev) |
Summary AI summary
Open-source package vllm vulnerable to DoS via unbounded Jinja2 rendering, affecting users of vllm 0.31.9 and earlier.
Excerpt from the source
Copied from the official record, trimmed. Read the full source before acting.
### Summary vLLM renders chat templates by passing the resolved Jinja2 source to `tokenizer.apply_chat_template()`, which compiles and `.render()`s it in an `ImmutableSandboxedEnvironment`. The sandbox prevents code-execution escapes but imposes **no wall-clock timeout, no output-size cap, and no nested-loop or binop limit**. The render runs in a `ThreadPoolExecutor` whose `max_workers` defaults to **1**, and CPython worker threads cannot be interrupted. An authenticated API client (or a malicious model repo loaded with `trust_remote_code=False`) can therefore submit a single short template an
What to do
Update vllm to version 0.32.0 or later to mitigate the vulnerability.
Other recent advisories for this package
- GHSA-vvpg-rrww-wpmh · Oct 28, 2026 · vLLM: Permissive default CORS origins allow cross-origin requests to the vLLM HTTP server
- GHSA-8397-8qf6-f2gm · Oct 28, 2026 · vLLM: Phi-4 multimodal audio encoder materializes and retains full attention matrices: a single max-length audio OOM-crashes the vLLM engine
- GHSA-gq5q-89c7-vhvx · Oct 28, 2026 · vLLM DeepSeek-OCR image processing vulnerable to denial of service
- GHSA-h3rc-j82p-2c3h · Oct 28, 2026 · vLLM: Untrusted EPS inputs can trigger denial of service or Ghostscript RCE
- GHSA-6757-hggm-hp2w · Oct 28, 2026 · vLLM: Public multimodal SHM handle forgery reaches worker-side `pickle.loads()` with insecure serialization disabled
- GHSA-q97c-p368-75c4 · Oct 28, 2026 · vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)
- GHSA-x567-49g5-p4cf · Oct 28, 2026 · vLLM: Responses API bypasses trust_request_chat_template for chat_template_kwargs
- GHSA-h3rc-6mm3-gc2m · Oct 27, 2026 · vLLM: Request-controlled mm_processor_kwargs.code_revision allows remote code execution
This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .