Description
vLLM is an inference and serving engine for large language models. From 0.19.0 until 0.32.0, authenticated callers can supply a request chat template when no server-side --chat-template is configured, or a malicious model repository can provide a template that is compiled and rendered by tokenizer.apply_chat_template() without a wall-clock timeout, output-size limit, or iteration bound. Rendering runs in a ThreadPoolExecutor with one worker by default, so a nonterminating render can block /v1/responses and other chat-template users after the request ends, while an output-expanding render can exhaust server memory. Harmony models are not affected because they do not use this Jinja path. This issue is fixed in version 0.32.0.
Published: 2026-10-26
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

The vulnerability allows an attacker to supply an unbounded chat template that is rendered by tokenizer.apply_chat_template() without any wall‑clock time, output size, or iteration limits. Rendering happens in a single‑thread ThreadPoolExecutor, so a template that never terminates or expands without bound can block the executor’s worker. This causes the /v1/responses endpoint to become unresponsive and can consume unlimited memory, potentially crashing the server. The weakness is an uncontrolled resource consumption flaw (CWE-400) and can lead to memory exhaustion (CWE-770) or indeterminate resource usage (CWE-834).

Affected Systems

vLLM versions 0.19.0 through 0.32.0 from the vllm-project are affected. Authentication is required to supply a request chat template, or a malicious model repository can provide a template that is compiled by the tokenizer. Harmony models are not vulnerable because they bypass the Jinja2 rendering path.

Risk and Exploitability

The CVSS score is 6.5, indicating medium severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated caller or a malicious model author, and no public exploits have been reported. However, the impact is substantial because the single‑worker thread pool can be stalled or server memory can be exhausted, leading to denial of service.

Generated by OpenCVE AI on October 26, 2026 at 18:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to vllm v0.32.0 or newer, which contains the fix for the unbounded rendering issue
  • If upgrading immediately is not feasible, restrict or disable client‑supplied chat templates and enforce only server‑side templates
  • Implement a wall‑clock timeout or size limit on Jinja2 rendering to prevent resource exhaustion in the tokenizer.apply_chat_template() function

Generated by OpenCVE AI on October 26, 2026 at 18:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Vllm
Vllm vllm
Vllm-project
Vllm-project vllm
Vendors & Products Vllm
Vllm vllm
Vllm-project
Vllm-project vllm

Mon, 26 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Description vLLM is an inference and serving engine for large language models. From 0.19.0 until 0.32.0, authenticated callers can supply a request chat template when no server-side --chat-template is configured, or a malicious model repository can provide a template that is compiled and rendered by tokenizer.apply_chat_template() without a wall-clock timeout, output-size limit, or iteration bound. Rendering runs in a ThreadPoolExecutor with one worker by default, so a nonterminating render can block /v1/responses and other chat-template users after the request ends, while an output-expanding render can exhaust server memory. Harmony models are not affected because they do not use this Jinja path. This issue is fixed in version 0.32.0.
Title vLLM: DoS via unbounded chat_template Jinja2 rendering exhausts the renderer thread pool
Weaknesses CWE-400
CWE-770
CWE-834
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-26T16:47:59.377Z

Reserved: 2026-10-23T20:21:45.107Z

Link: CVE-2026-115911

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-26T17:17:18.753

Modified: 2026-10-26T18:34:17.050

Link: CVE-2026-115911

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T18:30:14Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-834

    Excessive Iteration