Description
SGLang through 0.5.21 contains an unbounded memory allocation vulnerability in preprocess_video in qwen_vl.py that decodes frames at full source resolution before applying max_pixels limits. Remote attackers can submit high-resolution videos to /v1/chat/completions on Qwen-VL deployments, and concurrent requests exhaust worker memory causing denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sgl-project | sglang | ≤ 0.5.21 | — |
References
- GitHub Issue #43710 issue-tracking
- https://github.com/sgl-project/sglang/blob/v0.5.21/python/sglang/srt/multimodal/processors/qwen_vl.py#L267-L306 technical-description
- https://github.com/sgl-project/sglang product
- VulnCheck Advisory: SGLang through 0.5.21 Memory Exhaustion DoS via Qwen-VL Video Preprocessing third-party-advisory