Summary
vLLM: GLMGA video sampling permits request-driven CPU and memory exhaustion
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-L66andconnector.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.
Impact
Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service. Typical impact: denial of service.
CVE-2026-105760 has a CVSS score of 5.3 (Medium). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (0.30.0); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2026-105760? CVE-2026-105760 is a medium-severity uncontrolled resource consumption vulnerability in vllm (pip), affecting versions >= 0.23.0rc2, < 0.30.0. It is fixed in 0.30.0. Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service.
- How severe is CVE-2026-105760? CVE-2026-105760 has a CVSS score of 5.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of vllm are affected by CVE-2026-105760? vllm (pip) versions >= 0.23.0rc2, < 0.30.0 is affected.
- Is there a fix for CVE-2026-105760? Yes. CVE-2026-105760 is fixed in 0.30.0. Upgrade to this version or later.
- Is CVE-2026-105760 exploitable, and should I be worried? Whether CVE-2026-105760 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2026-105760 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2026-105760? Upgrade
vllmto 0.30.0 or later.