Skip to content
Threat Feed
medium advisory

Unbounded Memory Allocation in SGLang

SGLang versions up to 0.5.21 are vulnerable to a denial-of-service condition via an unbounded memory allocation issue in the /v1/audio/transcriptions endpoint.

What's new

  • 1. added coverage for SGLang (<= 0.5.21) Oct 12, 15:43 via nvd
  • 2. added coverage for SGLang (<= 0.5.21) Oct 12, 15:43 via nvd

SGLang through version 0.5.21 contains an unbounded memory allocation vulnerability that allows unauthenticated remote attackers to exhaust system memory. The vulnerability exists within the /v1/audio/transcriptions endpoint, which fails to properly validate the size of incoming multipart file uploads. Because the application reads the entirety of these files into memory prior to performing size validation or processing, an attacker can leverage concurrent, oversized upload requests to trigger a service crash. This results in the denial of service for the HTTP and tokenizer worker components, potentially impacting the availability of the model serving infrastructure. Defenders should prioritize updating to a patched version or implementing request size limits at the load balancer or reverse proxy layer to mitigate potential exploitation.

Impact

The vulnerability poses a high risk to availability, specifically for infrastructure relying on the affected SGLang audio transcription endpoint. Successful exploitation results in a service crash of the worker processes, denying legitimate users access to transcription services. This impacts any sector deploying SGLang for speech processing, particularly those with public-facing API interfaces.

Recommendation

  • Implement request body size limits at the edge (e.g., Nginx client_max_body_size) to block excessively large multipart uploads before they reach the SGLang application.
  • Monitor webserver logs for high-frequency or large POST requests targeting the /v1/audio/transcriptions endpoint.
  • Patch SGLang to the version addressing this memory allocation flaw as soon as vendor guidance is released.

Immediate actions

Deploy the Sigma rule to monitor for large POST requests to /v1/audio/transcriptions.

Detection Engineering 48h

Mitigations

Configure edge reverse proxy or load balancer to enforce a strict client_max_body_size for the /v1/audio/transcriptions endpoint.

immediate IT Operations

CVE-2026-109225

Detection coverage 1

Detect CVE-2026-109225 Exploitation - Large POST Requests to /v1/audio/transcriptions

high

Detects potential DoS attempts against CVE-2026-109225 by identifying unusually large POST requests directed at the audio transcription endpoint.

sigma tactics: impact sources: webserver

Detection queries are available on the platform. Get full rules →