CVE-2026-105760: vLLM: GLMGA video sampling permits request-driven CPU and memory exhaustion
vLLM's chat endpoint lets a caller choose the GLMGA video sampler and set huge `fps` and `max_frames` values in `media_io_kwargs`. GLMGA builds a giant index list before reading any frames, so a tiny video can burn CPU and memory and stall other media requests. Versions 0.23.0rc2 up to 0.30.0 are affected. Upgrade to vLLM 0.30.0.
Published Oct 5, 2026 · Analysis Oct 22, 2026
What an attacker can do
ChatCompletionRequest exposes media_io_kwargs as request-controlled values, and the connector merges them over configured defaults, including video_backend. A caller can therefore select the glmga backend even when the served model does not use it. GLMGA computes extract_t = min(int(duration * fps), max_frames), builds a Python list with that many entries and deduplicates it before the decoder reads anything.
The proof of concept sends an inline two-frame video with "video_backend": "glmga", "backend": "opencv", "fps": 500000 and "max_frames": 500000. The decoder ends up with two frames, but the intermediate list is huge. That work runs in the shared media-loading executor, so it delays unrelated media requests.
The advisory claims partial denial of service only, with no memory corruption, disclosure or code execution. It is reachable without credentials when no API key is set, and by any key holder otherwise. Existing byte, pixel or decoded-frame limits do not bound this pre-decode allocation.
Who is affected
vllm >= 0.23.0rc2, < 0.30.0, on servers that expose chat completions for a video-capable model and accept request-level media_io_kwargs. The model does not need to use GLMGA by default. No GPU decoder or external media host is needed to trigger it.
pip show vllmvllm
- Ecosystem
- PyPI
- Affected
- >= 0.23.0rc2, < 0.30.0
- Fixed in
- 0.30.0
- Check
pip show vllm
How to fix it
Upgrade to vLLM 0.30.0:
pip install -U vllm==0.30.0The fix (PR #54935) caps GLMGA sampling work. The advisory also lists workarounds:
- Filter request-level
video_backend,fpsandmax_framesat the gateway. - Do not let untrusted callers select GLMGA.
- Add authentication, rate limits, concurrency limits and memory isolation.
- Use a separate, constrained media-loading worker pool where possible.
How to tell if you were hit
Search request logs for media_io_kwargs bodies with "video_backend": "glmga" or very large fps and max_frames values such as 500000. On the host, look for the API-server process spiking in CPU and memory, with media requests stalling while small videos are submitted. The sources give no specific log line.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
The OpenAI-compatible chat endpoint accepts request-level video loader options through media_io_kwargs. A caller can select the GLMGA sampler and provide large fps and max_frames values. GLMGA first constructs an attacker-sized Python index list and then deduplicates it, even when the supplied video contains only a few frames. This work occurs in the shared media-loading executor before frame reads, allowing a tiny valid video and compact JSON options to consume disproportionate CPU time and memory and delay unrelated media requests.
The demonstrated impact is partial denial of service. No memory corruption, data disclosure, or code execution is claimed.
Affected configuration
The server must expose chat completions for a video-capable model and accept request-level media_io_kwargs. The model does not need to use GLMGA by default because the request value overrides the model's loader mapping. The proof of concept uses an inline two-frame video and explicitly selects the OpenCV decoder, so no external media host or GPU decoder is required.
The request is reachable without vLLM credentials when no API key is configured. With API-key authentication enabled, any caller holding a valid key can reach the same path.
Attack surface
A remote caller submits a valid chat-completion request with a small video and the following request-level options:
{
"media_io_kwargs": {
"video": {
"video_backend": "glmga",
"backend": "opencv",
"fps": 500000,
"max_frames": 500000
}
}
}Increasing both numeric values increases temporary list construction and deduplication work even when the final decoded frame set remains unchanged.
Root cause
ChatCompletionRequestexposesmedia_io_kwargsas request-controlled nested values: `protocol.py#L365-L371`.- The request options are carried into chat parameters without a numeric work bound on GLMGA's
fpsormax_frames: `protocol.py#L571-L599`. - Media options are merged so request values override configured defaults, including
video_backend: `connector.py#L577-L605`. - The connector selects a registered video loader and runs media loading through the shared executor: `video.py#L28-L66` and `connector.py#L44-L47`.
- GLMGA calculates
extract_t = min(int(duration * fps), max_frames), builds a list with that many entries, and deduplicates it before decoding frames: `video.py#L667-L740`. - The OpenCV decoder receives the already-deduplicated indices, so a two-frame file can trigger a large intermediate allocation while producing only two decoded frames: `opencv.py#L28-L50`.
The missing invariant is a strict upper bound on sampling work before the index list is constructed. Bounding decoded output after deduplication does not bound the vulnerable intermediate computation.
Suggested remediation
Validate request-level video sampling options before dispatching work to the media executor. Enforce conservative absolute limits for fps, max_frames, and especially the computed candidate count. Reject non-finite, negative, or otherwise invalid numeric values.
Avoid constructing O(extract_t) intermediate Python lists. Generate bounded unique frame indices directly from the source frame count and output-frame limit. Apply the limit before list construction and before shared executor submission. Add tests showing that extreme request values are rejected or consume constant memory for a fixed output-frame count.
Workarounds
- Remove or filter request-level
video_backend,fps, andmax_framesoptions at the gateway. - Do not allow untrusted callers to select GLMGA.
- Apply authentication, rate limiting, request concurrency limits, and process memory isolation.
- Use a separate constrained media-loading worker pool where operationally feasible.
- Existing media byte, pixel, or decoded-frame limits do not necessarily bound this pre-decode candidate-index allocation.
Related advisory
GHSA-cqm8-jxg6-fqfq concerns partial denial of service in the DeepStream video backend through backend confusion and insufficient pixel guarding. This report concerns a different CPU-side GLMGA algorithm: request-controlled sampling values create a large redundant index list before the OpenCV decoder reads a fixed, tiny frame set. The vulnerable backend, resource sink, and required remediation differ.
Credited to adithyan-ak, jperezdealgaba.
Questions
- Does the model need to be a GLM model?
No. The request value overrides the model's loader mapping, so any video-capable model on a server that accepts
media_io_kwargscan be pointed at GLMGA.- Does a large video need to be uploaded?
No. The proof of concept uses an inline two-frame video. The cost comes from the huge
fpsandmax_framesnumbers, not from the video.- Can this lead to code execution or data leaks?
No. The advisory claims only partial denial of service: CPU and memory exhaustion that slows or blocks other media requests.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More vLLM vulnerabilities
All vLLM entriesCVE-2026-114050
vLLM: Forged multimodal UUID + P0/P1 processor-cache eviction drift: unauthenticated remote crash of the whole vLLM engine
medium6.5Oct 23, 2026CVE-2026-114055
vLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)
high7.5Oct 23, 2026CVE-2026-105752
vLLM: Harmony tool continuations drop `cache_salt` — restoring a cross-tenant prefix-cache membership oracle
low3.1Oct 6, 2026CVE-2026-105753
vLLM: Mirrored multimodal IPC caches desync after a rejected request — a later request reusing the same media hash trips a receiver assertion in the engine core
medium6.5Oct 6, 2026CVE-2026-105754
vLLM: Scale-out disaggregated multimodal transport trusts caller-supplied features
medium6.5Oct 5, 2026CVE-2026-105755
vLLM: Flash late-interaction scoring caches query embeddings under a caller-controlled request id — cross-request integrity break and induced errors on `/score` and `/rerank`
medium4.2Oct 5, 2026
