Sep 17, 2026·6 min read·29 visits
vLLM versions prior to 0.24.0 are vulnerable to remote Denial of Service via an audio decompression bomb targeting the chat completions API, causing an immediate worker crash due to memory exhaustion.
CVE-2026-57173 (GHSA-hcwq-8wjf-3gcr) represents a critical resource allocation validation vulnerability in the vLLM inference engine. Prior to version 0.24.0, vLLM's multimodal chat completions pipeline failed to enforce maximum audio decode duration limits. Unauthenticated remote attackers can exploit this to perform an audio decompression bomb attack, causing massive memory allocations that trigger immediate system Out-Of-Memory (OOM) crashes and service termination.
vLLM is an open-source, high-throughput inference and serving engine designed for Large Language Models (LLMs). To support multimodal inputs such as speech-to-text and vision-language tasks, vLLM incorporates media processing pipelines to parse, decode, and transform incoming binary files (such as images and audio) into structured numerical tensors.
Prior to version 0.24.0, a security boundary omission existed within vLLM's audio ingestion pipeline. Specifically, the multimodal chat completions path (/v1/chat/completions) failed to propagate the maximum audio decode duration constraint (VLLM_MAX_AUDIO_DECODE_DURATION_S) when calling underlying audio decoding interfaces. This omission allows unauthenticated attackers to submit crafted audio files that bypass runtime limits.
This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). It permits a remote attacker to execute an Endpoint Denial of Service (DoS) attack, commonly referred to as an audio decompression bomb. The impact of this exploit is the immediate exhaustion of physical or virtual memory, resulting in an Out-Of-Memory (OOM) crash of the Python worker processes.
The root cause of this vulnerability lies in the structural separation of API pathways in the vLLM server. The dedicated speech-to-text transcription endpoint (/v1/audio/transcriptions) explicitly enforced duration boundaries. However, the multimodal chat completions endpoint (/v1/chat/completions) relied on the AudioMediaIO class in vllm/multimodal/media/audio.py to ingest and decode audio streams.
Within AudioMediaIO, the helper methods load_bytes and load_file are responsible for deserializing payloads. In vulnerable versions, these methods invoked the shared decoding routine load_audio(data, sr=None) without supplying the keyword argument max_duration_s. Consequently, the parameter defaulted to None inside the underlying backend wrapper, which leverages PyAV or SoundFile decoders.
Without an explicit duration limitation, the decoder attempts to decompress the entire stream regardless of its actual or declared playback length. An attacker can construct a highly compressed audio stream that expands into a massive uncompressed array of 32-bit floating-point (float32) Pulse Code Modulation (PCM) samples in RAM. Because the decompression process occurs synchronously during request parsing, the operating system's Out-Of-Memory (OOM) killer terminates the parent Python process to prevent system-wide instability.
To understand the technical correction, we must review the git diff in the affected module vllm/multimodal/media/audio.py. The patch explicitly introduces global configuration imports and passes the runtime boundary down the execution stack.
# Vulnerable Implementation
class AudioMediaIO:
# ...
def load_bytes(self, data: bytes) -> tuple[npt.NDArray, float]:
# Decodes raw bytes with no max_duration_s parameter supplied
return load_audio(BytesIO(data), sr=None)
def load_file(self, filepath: Path) -> tuple[npt.NDArray, float]:
# Decodes target local file with no max_duration_s parameter supplied
return load_audio(filepath, sr=None)# Patched Implementation
import vllm.envs as envs
class AudioMediaIO:
# ...
def load_bytes(self, data: bytes) -> tuple[npt.NDArray, float]:
# Explicitly propagates the global environmental decode limit
return load_audio(
BytesIO(data),
sr=None,
max_duration_s=envs.VLLM_MAX_AUDIO_DECODE_DURATION_S,
)
def load_file(self, filepath: Path) -> tuple[npt.NDArray, float]:
# Explicitly propagates the global environmental decode limit
return load_audio(
filepath,
sr=None,
max_duration_s=envs.VLLM_MAX_AUDIO_DECODE_DURATION_S,
)The fix is robust against normal payload abuse because the underlying load_audio implementation uses the propagated max_duration_s value to check the container's duration headers or terminate early during streaming decoding. However, a potential weakness remains if the container metadata is malformed to spoof a short duration while containing highly dense multi-channel audio data packets.
The vulnerability is exploited by targeting the /v1/chat/completions API route with a crafted payload containing a highly compressed audio stream. Attackers can leverage the asymmetric compression capabilities of modern codecs such as FLAC, Opus, or MP3. These formats can compress minutes or hours of silent or highly repetitive audio signals into a few hundred kilobytes.
Additionally, vLLM supports inline Data URLs allowing attackers to transmit base64-encoded audio directly inside JSON objects. Since these payloads are fully self-contained, they are parsed instantly upon receipt, bypassing external network fetch timeout guards such as VLLM_AUDIO_FETCH_TIMEOUT. The decoding process allocates memory according to the formula: Samples = Sample Rate * Channels * Duration. For standard 44.1 kHz stereo audio decoded to 32-bit floating point, each second requires approximately 352.8 kilobytes of memory, allowing small files to demand gigabytes of RAM during decompression.
The primary impact of this vulnerability is a complete loss of service availability for the affected vLLM node. Because vLLM often runs as a high-performance single-process system with heavy GPU and system memory allocations, a sudden spike in RAM utilization triggers the host Linux kernel's Out-Of-Memory (OOM) killer. This terminates the core serving daemon instantly, dropping all active inference sessions and preventing new requests from being served.
The CVSS v3.1 score is evaluated at 6.5 (Medium) with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. Although the CVSS vector lists Privileges Required as Low (PR:L) due to standard multi-tenant API assumptions, many default vLLM deployments are exposed directly to internal networks or the open internet without authentication, making the bug practically unauthenticated. No confidentiality or integrity impact is associated with this vulnerability.
Remediation requires upgrading the vLLM engine to version 0.24.0 or higher, where the duration validation is consistently applied across all ingestion paths. For environments where immediate updates are not feasible, administrators must apply the security patches manually to the audio.py module.
In addition to upgrading, several defensive postures should be implemented:
Restrict Request Body Sizes: Configure reverse proxies (e.g., NGINX, Envoy, Cloudflare) to drop requests exceeding a strict threshold, such as 5MB, which prevents the transmission of extremely large base64-encoded audio buffers.
Adjust Environmental Limits: Set the environment variable VLLM_MAX_AUDIO_DECODE_DURATION_S to a lower value (such as 120 or 300) to restrict the maximum allowable memory allocated per-request.
Deploy API Gateways: Ensure that the model endpoints are protected behind an API gateway enforcing strict authentication, rate-limiting, and client quotas to mitigate bulk denial-of-service attempts.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
vLLM vLLM Project | < 0.24.0 | 0.24.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-770 |
| Attack Vector | Network |
| CVSS v3.1 Score | 6.5 |
| EPSS Score | Not Recorded |
| Impact | Endpoint Denial of Service (OOM Crash) |
| Exploit Status | Proof of Concept (PoC) |
| KEV Status | Not Listed |
The software allocates a resource (memory) on behalf of an actor without specifying limits on the amount of resource that can be consumed.
File Browser versions prior to 2.63.17 contain an authorization and state-management flaw in the BoltDB storage backend. When an authenticated user deletes a shared directory via an HTTP request with a trailing slash (e.g., DELETE /api/resources/a/), the share cleanup routine queries the database index using the unnormalized path before stripping the trailing slash. Because canonical share paths are stored without trailing slashes (e.g., /a), the database prefix query fails to match the parent directory share record. If a directory with the same name is later recreated, the dormant public share hash automatically reactivates and exposes the new directory contents to unauthenticated users.
An uncontrolled memory allocation vulnerability exists in ag-psd versions prior to 31.0.0. When parsing Adobe Photoshop Document (PSD) files, the readPsd() function reads image dimensions and color depth directly from the file header and allocates off-heap typed arrays without validating whether the requested memory size is proportional to the input stream or bounded by operational thresholds. An unauthenticated attacker can supply a crafted 52-byte PSD payload that triggers an immediate 3.35 GB memory allocation, resulting in process termination via the operating system Out-Of-Memory (OOM) killer.
CVE-2026-126297 (GHSA-v8f3-6phw-6mh9) is an uncontrolled resource consumption and algorithmic complexity vulnerability in the Natural Language Toolkit (NLTK) prior to version 3.10.4. Located in the Semantic Role Labeling (SRL) parser within `nltk/corpus/reader/conll.py`, the flaw allows an attacker to trigger quadratic O(N^2) CPU processing overhead by providing crafted CoNLL-formatted corpus inputs containing decoy span columns or nested full-width verb spans. Applications parsing untrusted linguistic corpora can experience prolonged CPU exhaustion and application-level Denial of Service (DoS).
CVE-2026-126298 (also tracked as GHSA-r53h-rw34-8h97) is an algorithmic complexity Denial of Service (DoS) vulnerability in the Natural Language Toolkit (NLTK) Python library affecting all versions prior to 3.10.4. The vulnerability resides in the nltk.tree.transforms.chomsky_normal_form function and its corresponding public method Tree.chomsky_normal_form(). When transforming a parse tree into Chomsky Normal Form using the default right-factoring strategy, the function repeatedly invokes list.pop(0) inside a loop iterating over all children of a node. In CPython, removing the initial element of a standard list requires an O(N) memory shift operation, causing the overall binarization algorithm to degrade to O(N^2) quadratic time complexity relative to the width of a node. Furthermore, converting horizontal node width into vertical tree depth bypasses initial parsing depth bounds, triggering subsequent stack exhaustion (RecursionError) when recursive methods traverse the mutated structure. Unauthenticated remote attackers who can submit bracketed tree strings to applications invoking this transformation can exhaust single-threaded CPU resources or induce unhandled application exceptions.
An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.
CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.