---
id: CVE-2026-112270
title: SGLang through 0.5.22 Memory Exhaustion via Mooncake STAGING_RSP chunk_idx
summary: >-
  SGLang through 0.5.22 with the Mooncake disaggregation backend contains an
  uncontrolled memory allocation vulnerability in handle_staging_rsp() that lets
  unauthenticated network-adjacent attackers exhaust Prefill memory. Attackers
  can ob…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-770
vendor: sgl-project
product: sglang
affected:
  - sglang <= 0.5.22
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T13:55:18.694Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112270'
references:
  - url: 'https://github.com/sgl-project/sglang/issues/45014'
  - url: >-
      https://github.com/sgl-project/sglang/blob/v0.5.22/python/sglang/srt/disaggregation/common/staging_handler.py#L505-L548
  - url: >-
      https://github.com/sgl-project/sglang/blob/v0.5.22/python/sglang/srt/disaggregation/mooncake/conn.py#L2885-L2935
  - url: >-
      https://www.vulncheck.com/advisories/sglang-through-0.5.22-memory-exhaustion-via-mooncake-staging-rsp-chunk-idx
    label: >-
      VulnCheck Advisory: SGLang through 0.5.22 Memory Exhaustion via Mooncake
      STAGING_RSP chunk_idx
tags:
  - cve.org
ingestedAt: '2026-10-19T14:30:01.074Z'
---

## Overview

SGLang through 0.5.22 with the Mooncake disaggregation backend contains an uncontrolled memory allocation vulnerability in handle_staging_rsp() that lets unauthenticated network-adjacent attackers exhaust Prefill memory. Attackers can obtain the rank address from the /route endpoint and send STAGING_RSP messages with huge chunk_idx values under fresh room IDs, causing the scheduler to be OOM-killed.

## Affected

- `sglang <= 0.5.22`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
