Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Real-world risk is moderate-to-significant despite CVSS 6.5 scoring. The CVSS vector (AV:N/AC:L/PR:L/S:U/C:N/I:N/A:H) correctly identifies network accessibility with low complexity but requires authentication (PR:L). However, several factors elevate practical risk: (1) Authentication requirement is low-vLLM deployments often expose /v1/chat/completions endpoints with API key authentication in multi-tenant or cloud scenarios where keys may leak or be compromised; (2) The attack is trivial to execute-a single malformed POST request crashes the server; (3) Memory amplification is severe-5000 frames require only ~100 KB compressed input but expand to 4.6 GB uncompressed; (4) No rate limiting or input size validation mentioned in the description; (5) video/jpeg is part of vLLM's official public API surface, used in test suites and encode_video_url() utility. The vulnerability is availability-focused (no data breach or code execution), limiting CVSS impact, but in a shared-resource environment this causes service disruption for all users. EPSS data not provided, but exploitation is trivial given basic HTTP access and valid credentials. |
| Exploit ScenarioDerived | An authenticated attacker with API access to a vLLM deployment crafts a POST request to /v1/chat/completions containing a messages array with a video data URL of the form data:video/jpeg;base64,<JPEG1>,<JPEG2>,...,<JPEG5000>, where each JPEG is a valid base64-encoded frame. The compressed payload is small (~100 KB), but upon processing, VideoMediaIO.load_base64() splits on all commas and decodes each of the 5000 JPEG frames into numpy arrays, allocating ~4.6 GB of RAM. The np.stack() operation then fails with an out-of-memory error, crashing the vLLM server process. If the server is not running in a containerized environment with memory limits, the OOM condition may affect the entire system. No complex exploitation technique or zero-day knowledge is required-the attack is straightforward HTTP POST with a malformed data URL, demonstrating trivial attack complexity (AC:L in CVSS). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
Denial of service in vLLM's VideoMediaIO.load_base64() method allows authenticated remote attackers to crash the server via memory exhaustion by sending API requests with thousands of comma-separated base64-encoded JPEG frames. The vulnerability bypasses the default 32-frame limit enforced in other video loading code paths, allowing attackers to decode gigabytes of image data into memory (e.g., 5000 frames ≈ 4.6 GB for 640x480 RGB) with a small compressed payload. CVSS 6.5 (network-accessible, low complexity, requires authentication, high availability impact); no public exploit code identified at time of analysis.
RemediationAI
Patch the vulnerability by applying the fix from GitHub commit 58ee61422169ce17e08248f8efa1e9df434fe395 or PR #38636, which enforces the frame count limit in the load_base64() video/jpeg code path matching the behavior of load_bytes(). Update vLLM to the patched version (exact version number not specified in input but available from https://github.com/vllm-project/vllm/pull/38636). As a temporary mitigation before patching, restrict or disable video/jpeg input support via API configuration, implement strict HTTP request size limits (e.g., Content-Length headers), or deploy request size validation upstream of vLLM. Review and test the vendor's patch thoroughly in staging before production deployment. Refer to the GitHub Security Advisory at https://github.com/advisories/GHSA-pq5c-rjhq-qp7p for detailed remediation guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
vLLM is a Python-based LLM inference framework (CPE: pkg:pip/vllm) that provides multimodal input support including video processing via its VideoMediaIO class. The vulnerability stems from improper input validation in the load_base64() method at vllm/multimodal/media/video.py, lines 51-62. When processing video/jpeg MIME type (a vLLM-specific format, not IANA-registered), the code uses Python's str.split(",") to extract individual base64-encoded JPEG frames without enforcing any frame count limit. In contrast, the load_bytes() code path for binary video input properly respects self.num_frames (default 32). The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the unbounded list comprehension [np.asarray(load_frame(frame_data)) for frame_data in data.split(",")] followed by np.stack() creates memory amplification. Each JPEG frame decompresses to ~921 KB for 640x480 RGB, and np.stack() allocates an additional contiguous copy, making small compressed payloads decompress to gigabytes.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (https://github.com/vllm-project/vllm).
CVSS VectorVendor: https://github.com/vllm-project/vllm
Lifecycle Timeline
2DescriptionCVE.org
Summary
The VideoMediaIO.load_base64() method at vllm/multimodal/media/video.py:51-62 splits video/jpeg data URLs by comma to extract individual JPEG frames, but does not enforce a frame count limit. The num_frames parameter (default: 32), which is enforced by the load_bytes() code path at line 47-48, is completely bypassed in the video/jpeg base64 path. An attacker can send a single API request containing thousands of comma-separated base64-encoded JPEG frames, causing the server to decode all frames into memory and crash with OOM.
Details
Vulnerable code
# video.py:51-62
def load_base64(self, media_type: str, data: str) -> tuple[npt.NDArray, dict[str, Any]]:
if media_type.lower() == "video/jpeg":
load_frame = partial(self.image_io.load_base64, "image/jpeg")
return np.stack(
[np.asarray(load_frame(frame_data)) for frame_data in data.split(",")]
# ^^^^^^^^^^
# Unbounded split - no frame count limit
), {}
return self.load_bytes(base64.b64decode(data))The load_bytes() path (line 47-48) properly delegates to a video loader that respects self.num_frames (default 32). The load_base64("video/jpeg", ...) path bypasses this limit entirely - data.split(",") produces an unbounded list and every frame is decoded into a numpy array.
video/jpeg is part of vLLM's public API
video/jpeg is a vLLM-specific MIME type, not IANA-registered. However it is part of the public API surface:
encode_video_url()atvllm/multimodal/utils.py:96-108generatesdata:video/jpeg;base64,...URLs- Official test suites at
tests/entrypoints/openai/test_video.py:62andtests/entrypoints/test_chat_utils.py:153both use this format
Memory amplification
Each JPEG frame decodes to a full numpy array. For 640x480 RGB images, each frame is ~921 KB decoded. 5000 frames = ~4.6 GB. np.stack() then creates an additional copy. The compressed JPEG payload is small (~100 KB for 5000 frames) but decompresses to gigabytes.
Data flow
POST /v1/chat/completions
→ chat_utils.py:1434 video_url type → mm_parser.parse_video()
→ chat_utils.py:872 parse_video() → self._connector.fetch_video()
→ connector.py:295 fetch_video() → load_from_url(url, self.video_io)
→ connector.py:91 _load_data_url(): url_spec.path.split(",", 1)
→ media_type = "video/jpeg"
→ data = "<frame1>,<frame2>,...,<frame10000>"
→ connector.py:100 media_io.load_base64("video/jpeg", data)
→ video.py:54 data.split(",") ← UNBOUNDED
→ video.py:55-57 all frames decoded into numpy arrays
→ video.py:56 np.stack([...]) ← massive combined array → OOMconnector.py:91 uses split(",", 1) which splits on only the first comma. All remaining commas stay in data and are later split by video.py:54.
Comparison with existing protections
| Code Path | Frame Limit | File |
|---|---|---|
load_bytes() (binary video) | Yes - num_frames (default 32) | video.py:46-49 |
load_base64("video/jpeg", ...) | No - unlimited data.split(",") | video.py:51-62 |
Blast Radius
ecosystem impact- 3 pypi packages depend on vllm (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.7.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-19350
GHSA-pq5c-rjhq-qp7p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB