7.5High
CVE-2026-109227SGLang through 0.5.21 Memory Exhaustion DoS via Qwen-VL Video Preprocessing
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.
Weakness (CWE):
CWE-770
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| lmsys | sglang | ≤ 0.5.21 | |
| sgl-project | sglang | ≤ 0.5.21 |
References and patches
- 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