CVE-2026-126394: vLLM: unbounded num_frames in openpangu video OOM-kills API
MEDIUMCVE-2026-126394 is a resource exhaustion flaw in vLLM 0.30.0 up to (but not including) 0.31.0: the openpangu video backend accepts a request-controlled num_frames with no effective ceiling, so a single unauthenticated call to /v1/chat/completions or /tokenize can force huge np.linspace allocations and OOM-kill the API server. The CVSS is only 5.3 (availability impact low), but the attack is network-reachable, needs no privileges or user interaction, and takes down the whole inference endpoint, which matters for any internet-exposed or shared deployment. There is currently no public exploit, no Nuclei template, no KEV listing, and no EPSS score or SSVC decision, so there is no evidence of active exploitation, but the trigger is trivial to reproduce from the advisory. Upgrade to vLLM 0.31.0 or later; until then, put the server behind authentication, cap request body and parameter values at the gateway, and alert on API server OOM kills and restarts.
What is the risk?
Medium overall. Exploitability is high (network, low complexity, no auth, no user interaction), but the impact is limited to availability with no confidentiality or integrity loss. Exposure depends on whether vLLM is reachable by untrusted clients and whether the openpangu video backend is selectable by request. There is no known exploitation, no public PoC and no EPSS data, so likelihood is uncertain, but a crash-on-demand condition on a shared inference service can cause repeated outages. Risk rises for multi-tenant or public endpoints without a fronting gateway, and falls for internal deployments behind authentication.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| vLLM | pip | — | No patch |
Do you use vLLM? You're affected.
How severe is it?
What is the attack surface?
What should I do?
6 stepsUpgrade vLLM to 0.31.0 or later (see GHSA-894j-wg8m-63h8).
Until patched, do not expose vLLM directly to untrusted networks; require authentication (API keys or an authenticating reverse proxy) on /v1/chat/completions and /tokenize.
Add gateway rules that reject or cap request bodies containing a video_backend selection or an abnormally large num_frames value.
Set container or cgroup memory limits and restart policies so a crash is contained and does not affect the host.
Apply per-client rate limiting.
Detect by monitoring for OOM-kill events, unexpected server restarts, memory spikes, and requests with very large num_frames values in access logs.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-126394?
CVE-2026-126394 is a resource exhaustion flaw in vLLM 0.30.0 up to (but not including) 0.31.0: the openpangu video backend accepts a request-controlled num_frames with no effective ceiling, so a single unauthenticated call to /v1/chat/completions or /tokenize can force huge np.linspace allocations and OOM-kill the API server. The CVSS is only 5.3 (availability impact low), but the attack is network-reachable, needs no privileges or user interaction, and takes down the whole inference endpoint, which matters for any internet-exposed or shared deployment. There is currently no public exploit, no Nuclei template, no KEV listing, and no EPSS score or SSVC decision, so there is no evidence of active exploitation, but the trigger is trivial to reproduce from the advisory. Upgrade to vLLM 0.31.0 or later; until then, put the server behind authentication, cap request body and parameter values at the gateway, and alert on API server OOM kills and restarts.
Is CVE-2026-126394 actively exploited?
No confirmed active exploitation of CVE-2026-126394 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-126394?
1. Upgrade vLLM to 0.31.0 or later (see GHSA-894j-wg8m-63h8). 2. Until patched, do not expose vLLM directly to untrusted networks; require authentication (API keys or an authenticating reverse proxy) on /v1/chat/completions and /tokenize. 3. Add gateway rules that reject or cap request bodies containing a video_backend selection or an abnormally large num_frames value. 4. Set container or cgroup memory limits and restart policies so a crash is contained and does not affect the host. 5. Apply per-client rate limiting. 6. Detect by monitoring for OOM-kill events, unexpected server restarts, memory spikes, and requests with very large num_frames values in access logs.
What systems are affected by CVE-2026-126394?
This vulnerability affects the following AI/ML architecture patterns: model serving, LLM inference APIs, multimodal/video inference, RAG pipelines, agent frameworks.
What is the CVSS score for CVE-2026-126394?
CVE-2026-126394 has a CVSS v3.1 base score of 5.3 (MEDIUM).
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0029Denial of AI ServiceAML.T0034.001Resource-Intensive QueriesAML.T0040AI Model Inference API AccessAML.T0049Exploit Public-Facing ApplicationCompliance Controls Affected
What are the technical details?
Original Advisory
vLLM 0.30.0 before 0.31.0 contains a resource exhaustion vulnerability in OpenCVDynamicOpenPanguVideoBackend, which uses request-controlled num_frames without an effective ceiling. Unauthenticated attackers can send /v1/chat/completions or /tokenize requests selecting the openpangu video_backend with a huge num_frames, forcing np.linspace allocations and CPU work that OOM-kill the API server.
Exploitation Scenario
An attacker discovers an internet-facing vLLM endpoint serving a multimodal model. Without any credentials, they send a /tokenize or /v1/chat/completions request selecting the openpangu video_backend with a num_frames value in the billions. The server allocates large np.linspace arrays and burns CPU, exhausting memory until the kernel OOM-kills the API process. The attacker repeats the request each time the service restarts, keeping the endpoint down and disrupting downstream applications or driving up recovery costs.
Weaknesses (CWE)
CWE-770Allocation of Resources Without Limits or ThrottlingPrimaryCWE-770Allocation of Resources Without Limits or ThrottlingCWE-770 — Allocation of Resources Without Limits or Throttling: The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
- [Requirements] Clearly specify the minimum and maximum expectations for capabilities, and dictate which behaviors are acceptable when resource allocation reaches limits.
- [Architecture and Design] Limit the amount of resources that are accessible to unprivileged users. Set per-user limits for resources. Allow the system administrator to define these limits. Be careful to avoid CWE-410.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
Timeline
Related Vulnerabilities
CVE-2026-6173210.0Decepticon: ChatML token injection yields sandbox RCE
Same package: vllmCVE-2024-110419.8vllm: RCE via unsafe pickle deserialization in MessageQueue
Same package: vllmCVE-2025-472779.8vLLM: RCE via exposed TCPStore in distributed inference
Same package: vllmCVE-2026-259609.8vllm: SSRF allows internal network access
Same package: vllmCVE-2024-90539.8vllm: RCE via unsafe pickle deserialization in RPC server
Same package: vllm