MediumVulnerabilityLLM-specific
GHSA-hf3c-wxg2-49q9: vLLM vulnerable to Denial of Service by abusing xgrammar cache
- Identifier
- GHSA-hf3c-wxg2-49q9
- Published
- Record updated
- Affected
- vllm >= 0.6.5, < 0.8.4
- Fixed in
- 0.8.4
Summary
vLLM's structured output feature uses the XGrammar library, which keeps a required, built-in RAM cache of compiled grammars and is enabled by default through the OpenAI compatible API server with both the V0 and V1 engines. A malicious user can send a stream of very short decoding requests with unique schemas, adding a cache entry for each request and consuming all of the system's RAM, causing a Denial of Service.
Mitigation
Patch: https://github.com/vllm-project/vllm/pull/16283. No workaround exists in existing versions of vLLM other than preventing untrusted access to the OpenAI compatible API server.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- vllmPyPILLM dependency since 2023-08-25, 15 tracked dependents
Topics
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database