{"id":"CVE-2026-93838","published":"2026-09-18T20:17:33.900","lastModified":"2026-09-22T20:43:58.793","description":"SGLang versions through 0.5.20 contain an unbounded memory allocation vulnerability in handle_staging_req() that fails to validate chunk_idx from ZMQ STAGING_REQ frames in prefill/decode disaggregation deployments. Attackers with access to the decode engine's internal ZMQ rank port can send a frame with an extremely large chunk_idx value, causing the scheduler to allocate memory until the system runs out and terminates the process.","cvssScore":5.9,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-770"],"vendors":[],"products":[],"references":[{"url":"https://github.com/sgl-project/sglang","tags":[]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/conn.py#L1636-L1640","tags":[]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L781","tags":[]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L848-L860","tags":[]},{"url":"https://github.com/sgl-project/sglang/issues/39764","tags":[]},{"url":"https://www.vulncheck.com/advisories/sglang-through-0.5.20-unbounded-memory-allocation-via-staging-req-chunk-idx","tags":[]},{"url":"https://github.com/sgl-project/sglang/issues/39764","tags":[]}],"exploitRefs":[{"url":"https://github.com/sgl-project/sglang","tags":[]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/conn.py#L1636-L1640","tags":[]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L781","tags":[]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L848-L860","tags":[]},{"url":"https://github.com/sgl-project/sglang/issues/39764","tags":[]},{"url":"https://github.com/sgl-project/sglang/issues/39764","tags":[]}],"hasPoc":true,"ai":null}