Skip to content
Heist/ feed
Back to feed
High

SGLang through 0.5.21 Memory Exhaustion DoS via Qwen-VL Video Preprocessing

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-109227
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:45 UTC · Revision 1

Source evidence

SGLang through 0.5.21 Memory Exhaustion DoS via Qwen-VL Video Preprocessing

core-osv · Original source

Published 12 Oct 2026, 14:04 UTC

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.

osv:CVE-2026-109227
Complete source record
{
  "id": "b4d2ad608e1b54cf1a4a57375f791699605ab7df304eaf902208cf3f1533aebe",
  "url": "https://osv.dev/vulnerability/CVE-2026-109227",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SGLang through 0.5.21 Memory Exhaustion DoS via Qwen-VL Video Preprocessing",
    "summary": "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.",
    "evidence": "osv:CVE-2026-109227",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-109227",
      "aliases": [
        "CVE-2026-109227"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sgl-project/sglang",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "e00930c5489053f26d86b179cee0d087f846acbb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.5.21"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.5.21"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.5.21",
            "gateway-v0.3.1",
            "gateway-v0.3.0",
            "v0.5.6.post2",
            "gateway-v0.2.4",
            "v0.5.6.post1",
            "v0.5.6",
            "v0.5.5",
            "v0.5.5.post3",
            "gateway-v0.2.3",
            "v0.5.5.post2",
            "v0.5.5.post1",
            "v0.5.4.post3",
            "v0.5.4.post2",
            "gateway-v0.2.2",
            "v0.5.4.post1",
            "v0.5.4",
            "gateway-v0.2.1",
            "v0.5.3.post3",
            "v0.5.3.post2",
            "gateway-v0.2.0",
            "v0.5.3.post1",
            "v0.5.3",
            "v0.5.3rc2",
            "v0.5.3rc1",
            "v0.5.3rc0",
            "v0.5.2",
            "v0.5.2rc2",
            "v0.5.2rc1",
            "v0.5.2rc0",
            "v0.5.1.post3",
            "v0.5.1.post2",
            "v0.5.1.post1",
            "v0.5.1",
            "v0.5.0rc2",
            "v0.5.0rc1",
            "v0.5.0rc0",
            "gateway-v0.1.9",
            "v0.4.10.post2",
            "v0.4.10.post1",
            "gateway-v0.1.8",
            "gateway-v0.1.7",
            "v0.4.10",
            "v0.4.9.post6",
            "v0.4.9.post5",
            "v0.4.9.post4",
            "v0.4.9.post3",
            "gateway-v0.1.6",
            "v0.4.9.post2",
            "v0.4.9.post1",
            "gateway-v0.1.5",
            "v0.4.9",
            "v0.4.8.post1",
            "v0.4.8",
            "v0.4.7.post1",
            "v0.4.7",
            "v0.4.6.post5",
            "v0.4.6.post4",
            "v0.4.6.post3",
            "v0.4.6.post2",
            "v0.4.6.post1",
            "v0.4.6",
            "v0.4.5.post3",
            "v0.4.5.post2",
            "v0.4.5.post1",
            "v0.4.5",
            "v0.4.4.post4",
            "v0.4.4.post3",
            "v0.4.4.post2",
            "v0.4.4.post1",
            "v0.4.4",
            "v0.4.3.post4",
            "v0.4.3.post3",
            "v0.4.3.post2",
            "v0.4.3.post1",
            "v0.4.3",
            "v0.4.2.post4",
            "v0.4.2.post3",
            "v0.4.2.post2",
            "v0.4.2.post1",
            "v0.4.2",
            "v0.4.1.post7",
            "v0.4.1.post6",
            "v0.4.1.post5",
            "v0.4.1.post4",
            "v0.4.1.post3",
            "v0.4.1.post2",
            "v0.4.1.post1",
            "v0.4.1",
            "v0.4.0.post2",
            "v0.4.0.post1",
            "v0.4.0",
            "v0.3.6.post3",
            "v0.3.6.post2",
            "v0.3.6.post1",
            "v0.3.6",
            "v0.3.5.post2",
            "v0.3.5.post1",
            "v0.3.5",
            "v0.3.4.post2",
            "v0.3.4.post1",
            "v0.3.4",
            "v0.3.3.post1",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1.post3",
            "v0.3.1.post2",
            "v0.3.1.post1",
            "v0.3.0",
            "v0.2.15",
            "v0.2.14.post2",
            "v0.2.14.post1",
            "v0.2.14",
            "v0.2.13",
            "v0.2.12",
            "v0.2.11",
            "v0.2.10",
            "v0.2.9.post1",
            "v0.2.9",
            "v0.2.8",
            "v0.2.7",
            "v0.2.6",
            "v0.2.5",
            "v0.2.0",
            "v0.1.24",
            "v0.1.23",
            "v0.1.22",
            "v0.1.21",
            "v0.1.20",
            "v0.1.19",
            "v0.1.18",
            "v0.1.17",
            "v0.1.16",
            "v0.1.15",
            "v0.1.14",
            "v0.1.13",
            "v0.1.12",
            "v0.1.11",
            "v0.1.10",
            "v0.1.9",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-109227.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.990759298Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109227.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-109227",
        "https://www.vulncheck.com/advisories/sglang-through-0.5.21-memory-exhaustion-dos-via-qwen-vl-video-preprocessing",
        "https://github.com/sgl-project/sglang/issues/43710",
        "https://github.com/sgl-project/sglang",
        "https://pypi.org/project/sglang",
        "https://github.com/sgl-project/sglang/blob/v0.5.21/python/sglang/srt/multimodal/processors/qwen_vl.py#L267-L306"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-770"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109227.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-109227",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489341,
  "published_at": "2026-10-12T14:04:31.362+00:00"
}