PYSEC-2026-4310: vLLM: Qwen2-VL / Qwen3-VL video samplers bound on request-controlled max_frames, which the num_frames ceiling does not reach
notable signal 40 vllm
PYSEC-2026-4310: Qwen2VLVideoBackend and Qwen3VLVideoBackend bound video sampling on request-controlled media_io_kwargs.video.max_frames and fps, not num_frames, so the num_frames clamp from GHSA-vxqj-p4gw-9h4c / PR #51969 does not reach them. An unauthenticated POST /tokenize with 74 extra bytes of JSON took peak RSS from 2,271 MiB to 13,629 MiB on a Qwen2-VL/Qwen3-VL deployment. The GLMGAVideoBackend cap (8b6de0eb9, PR #54935) never reached Qwen.
Action: If you serve Qwen2-VL or Qwen3-VL, block or rate-limit unauthenticated /tokenize and chat traffic and cap request-level media_io_kwargs.video.max_frames and fps at the gateway until the upstream clamp covers the Qwen samplers.
Migration effort: medium
Entities: vllm
Facts
PYSEC-2026-4310 · unknown · pypi:vllm
Cited
PYSEC-2026-4310: vLLM: Qwen2-VL / Qwen3-VL video samplers bound on request-controlled max_frames, which the num_frames ceiling does not reach osv · official · 2026-10-15