CVE-2026-93838

SGLang through 0.5.20 Unbounded Memory Allocation via STAGING_REQ chunk_idx

Published Sep 18, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

SGLang versions through 0.5.20 contain an unbounded memory allocation flaw in handle_staging_req() that does not validate the chunk_idx received from ZMQ STAGING_REQ frames. A single oversized value can force the scheduler to allocate memory until the operating system runs out, causing the process to terminate. This results in a denial of service for the affected deployment, potentially affecting all services that rely on the decode engine.

Affected Systems

The vulnerable product is SGLang by sgl-project. All releases up to and including 0.5.20 are affected. The issue arises in deployments that use the prefill/decode disaggregation mode.

Risk and Exploitability

The CVSS score of 8.2 reflects a high severity risk. The EPSS score is less than 1 %, indicating a low likelihood of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires access to the internal ZMQ rank port that the decode engine listens on; an attacker with that access can send a frame containing an extremely large chunk_idx value, provoking the memory exhaustion behavior.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SGLang to a version later than 0.5.20 which contains the fix for the unbounded memory allocation flaw.
  • Ensure the internal ZMQ rank port used by the decode engine is not exposed to untrusted networks; limit connectivity to trusted hosts only.
  • Configure network or firewall rules to restrict or filter access to the ZMQ rank port, and monitor for anomalous frames with unusually large chunk_idx values.

Generated by OpenCVE AI on September 19, 2026 at 17:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sgl-project
Sgl-project sglang
Vendors & Products Sgl-project
Sgl-project sglang
Type Values Removed Values Added
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.
Title SGLang through 0.5.20 Unbounded Memory Allocation via STAGING_REQ chunk_idx
First Time appeared Lmsys
Lmsys sglang
Weaknesses CWE-770
CPEs cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*
Vendors & Products Lmsys
Lmsys sglang
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, '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'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:23 PM
Reserved
Sep 18, 2026, 6:16 PM
Status
Deferred
Published
Sep 18, 2026, 8:17 PM
Modified
Sep 22, 2026, 8:43 PM