{"id":"CVE-2026-93838","state":"PUBLISHED","title":"SGLang through 0.5.20 Unbounded Memory Allocation via STAGING_REQ chunk_idx","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.","publishedAt":"2026-09-18T19:06:03.899Z","updatedAt":"2026-09-24T14:23:13.073Z","severity":{"score":8.2,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["sgl-project sglang"],"affected":[{"vendor":"sgl-project","product":"sglang","packageURL":"pkg:pypi/sglang","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.5.20","versionType":"semver"}],"repo":"https://github.com/sgl-project/sglang","collectionURL":"https://pypi.org/project/sglang"}],"references":["https://github.com/sgl-project/sglang/issues/39764","https://github.com/sgl-project/sglang","https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L781","https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L848-L860","https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/conn.py#L1636-L1640","https://www.vulncheck.com/advisories/sglang-through-0.5.20-unbounded-memory-allocation-via-staging-req-chunk-idx"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93838.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93838","state":"PUBLISHED","datePublished":"2026-09-18T19:06:03.899Z","dateUpdated":"2026-09-24T14:23:13.073Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-18T18:16:36.587Z"},"containers":{"cna":{"title":"SGLang through 0.5.20 Unbounded Memory Allocation via STAGING_REQ chunk_idx","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sgl-project","product":"sglang","packageURL":"pkg:pypi/sglang","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.5.20","versionType":"semver"}],"repo":"https://github.com/sgl-project/sglang","collectionURL":"https://pypi.org/project/sglang"}],"references":[{"url":"https://github.com/sgl-project/sglang/issues/39764","tags":["issue-tracking"],"name":"GitHub Issue #39764"},{"url":"https://github.com/sgl-project/sglang","tags":["product"]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L781","tags":["technical-description"]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/staging_handler.py#L848-L860","tags":["technical-description"]},{"url":"https://github.com/sgl-project/sglang/blob/v0.5.20/python/sglang/srt/disaggregation/common/conn.py#L1636-L1640","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/sglang-through-0.5.20-unbounded-memory-allocation-via-staging-req-chunk-idx","name":"VulnCheck Advisory: SGLang through 0.5.20 Unbounded Memory Allocation via STAGING_REQ chunk_idx","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-24T14:23:13.073Z"},"datePublic":"2026-09-16T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*","versionEndIncluding":"0.5.20"}]}]}],"credits":[{"lang":"en","value":"Jiapeng Li","type":"finder"},{"lang":"en","value":"Mingkai Yu","type":"finder"},{"lang":"en","value":"Jiajia Liu","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/sgl-project/sglang/issues/39764","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-18T20:09:38.130553Z","id":"CVE-2026-93838","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-18T20:09:44.508Z"}}]}}}