CVE-2025-29770 Details
Description
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. The outlines library is one of the backends used by vLLM to support structured output (a.k.a. guided decoding). Outlines provides an optional cache for its compiled grammars on the local filesystem. This cache has been on by default in vLLM. Outlines is also available by default through the OpenAI compatible API server. The affected code in vLLM is vllm/model_executor/guided_decoding/outlines_logits_processors.py, which unconditionally uses the cache from outlines. A malicious user can send a stream of very short decoding requests with unique schemas, resulting in an addition to the cache for each request. This can result in a Denial of Service if the filesystem runs out of space. Note that even if vLLM was configured to use a different backend by default, it is still possible to choose outlines on a per-request basis using the guided_decoding_backend key of the extra_body field of the request. This issue applies only to the V0 engine and is fixed in 0.8.0.
A denial-of-service vulnerability has been identified in vLLM, specifically in versions prior to 0.8.0. The issue arises in the outlines library, which is used by vLLM to support structured output or guided decoding. By default, outlines caches its compiled grammars on the local filesystem, a feature that has been enabled in vLLM. The vulnerability exists because the caching mechanism is unconditionally applied, allowing a malicious user to send a series of short decoding requests with unique schemas. Each request adds to the cache, potentially exhausting filesystem space and causing a denial-of-service condition. This issue is present when vLLM is accessed through the OpenAI compatible API server and applies only to the V0 engine, as the V1 engine is not affected.
Users can upgrade to vLLM version 0.8.0 or later, where this vulnerability has been addressed. If the outlines cache is needed, it can be enabled by setting the 'VLLM_V0_USE_OUTLINES_CACHE' environment variable to '1'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vllm vllm | < 0.8.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2025 | Initial Analysis | [email protected] |
| Mar 19, 2025 | New CVE Received | [email protected] |