PYSEC-2026-4307: vLLM: GLMGA video sampling permits request-driven CPU and memory exhaustion
notable signal 40 vllm
PYSEC-2026-4307: vLLM's OpenAI-compatible chat endpoint accepts request-level media_io_kwargs, letting a caller select the GLMGA sampler with large fps and max_frames. GLMGA builds an attacker-sized Python index list and then deduplicates it even when the video has only a few frames, in the shared media-loading executor before frame reads, so a tiny video plus compact JSON causes disproportionate CPU and memory use and delays unrelated media requests (partial denial of service). Reachable without credentials when no API key is configured.
Action: Enable API-key authentication on video-capable chat deployments and cap or strip request-level media_io_kwargs (fps, max_frames) at the gateway until the upstream fix lands.
Migration effort: medium
Entities: vllm
Facts
PYSEC-2026-4307 · unknown · pypi:vllm
Cited
PYSEC-2026-4307: vLLM: GLMGA video sampling permits request-driven CPU and memory exhaustion osv · official · 2026-10-15