CVE-2026-5497: vLLM Out-of-Memory DoS Vulnerability in Video Frame Processing
vLLM, an open-source large language model inference engine, contains a denial-of-service vulnerability in how it processes video data. When an attacker sends a specially crafted request containing thousands of JPEG images bundled into a single data URL, the server attempts to decode all of them into memory simultaneously, exhausting available RAM and crashing the service. No authentication is required—the attack works against any exposed vLLM instance running versions 0.8.0 and later. The vulnerability stems from the absence of limits on how many frames the system will process from a single request.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-400, CWE-770
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-11 / 2026-07-15
NVD description (verbatim)
vLLM versions 0.8.0 and later are vulnerable to an Out-of-Memory (OOM) Denial of Service (DoS) attack due to unbounded frame count processing in the `VideoMediaIO.load_base64()` method. When processing `video/jpeg` data URLs, the method splits the base64 data string on commas to extract individual JPEG frames without enforcing a frame count limit. An attacker can exploit this by crafting a single API request containing thousands of comma-separated base64-encoded JPEG frames in a data URL, causing the server to decode all frames into memory and crash due to excessive memory consumption. This vulnerability is reachable via the OpenAI-compatible chat completions API and does not require authentication.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the `VideoMediaIO.load_base64()` method used to handle video/jpeg media in data URLs. The method splits incoming base64-encoded data on comma delimiters to extract individual JPEG frames, then decodes each frame into memory without validating or limiting the frame count. An attacker can construct a single API call to the OpenAI-compatible chat completions endpoint containing a malicious data URL with thousands of comma-separated base64-encoded JPEG frames. The server will attempt to decode every frame, causing unbounded memory allocation that leads to out-of-memory conditions and process termination. This attack vector is reachable without authentication, making it accessible to any network-adjacent threat actor.
Business impact
An attacker exploiting this vulnerability can render a vLLM deployment unavailable by sending a single malicious request. This interrupts inference workloads, breaks dependent applications (chatbots, content moderation systems, summarization services), and forces manual restart of services. For production environments serving multiple users or applications, repeated attacks can create a denial-of-service condition that prevents legitimate use. Organizations relying on vLLM for revenue-generating or mission-critical AI services face operational downtime and potential SLA violations. The attack requires no sophisticated tooling or credentials, lowering the barrier for exploitation.
Affected systems
vLLM versions 0.8.0 through the current version are affected. The vulnerability is only triggered when processing requests that include video/jpeg data in base64-encoded format via the OpenAI-compatible API. Deployments that do not expose the chat completions endpoint or do not accept multimodal (vision) inputs are not impacted. Self-hosted instances, managed SaaS offerings, and integrated vLLM deployments within other systems are all potentially vulnerable if running affected versions and accepting video input.
Exploitability
Exploitability is very high. The attack requires only network access to the vLLM inference endpoint—no authentication, no special privileges, and no user interaction. An attacker can craft the malicious request using standard HTTP libraries in any programming language. The payload is straightforward: a single API call containing a data URL with many comma-separated JPEG frames. The vulnerability does not require bypassing any additional controls, parsing logic, or application-level authentication. This makes it suitable for automated scanning and mass exploitation campaigns targeting exposed vLLM instances on public networks or accessible cloud deployments.
Remediation
Upgrade vLLM to a patched version that enforces frame count limits in the `VideoMediaIO.load_base64()` method. Verify the patched version against the official vLLM release notes and security advisories. In the interim, implement network-level mitigations: restrict access to the OpenAI-compatible API endpoint to trusted sources using firewall rules or API gateway authentication; disable video/multimodal processing if not required; implement request size limits and rate limiting on the inference endpoint to slow or block large payloads; monitor memory usage and set process memory limits (ulimit, cgroups) to trigger graceful shutdown rather than kernel OOM kills.
Patch guidance
Check the official vLLM GitHub repository and release notes for versions addressing CVE-2026-5497. Apply the patched version to all vLLM deployments, including containerized instances. Test the upgrade in a staging environment against your typical multimodal workloads to confirm compatibility before production deployment. If you cannot patch immediately, apply the interim network controls described in the remediation section.
Detection guidance
Monitor for API requests to the chat completions endpoint containing video/jpeg data URLs with unusually high numbers of comma-delimited segments (frame counts in the hundreds or thousands). Alert on sudden spikes in memory usage or out-of-memory process crashes on vLLM servers. Review access logs for requests to `/v1/chat/completions` or similar endpoints with base64-encoded payloads exceeding typical sizes (e.g., >10 MB). Use memory profiling and request inspection to identify malicious frame-loading attempts. Network-based detection can flag requests with repeated comma separators in base64 data, though legitimate multimodal use cases may require tuning thresholds.
Why prioritize this
This vulnerability merits immediate attention due to its high severity (CVSS 7.5), trivial exploitability, and lack of authentication requirements. Any vLLM instance exposed to untrusted networks faces immediate DoS risk. The ease of attack—a single HTTP request—means threat actors can rapidly test and exploit vulnerable instances at scale. Organizations operating vLLM in production should prioritize patching or implementing interim controls. Delayed remediation extends exposure to potential service disruption.
Risk score, explained
The CVSS 3.1 score of 7.5 (HIGH) reflects a network-accessible denial-of-service attack with no authentication requirement and high impact on availability. The vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H indicates the attack is trivial to execute (Low Attack Complexity, no privileges or user interaction), affects only availability (not confidentiality or integrity), and does not require local system access. The score appropriately captures a severe but not critical risk; while the service is disrupted, no data is stolen or corrupted, and attackers cannot gain persistent access or escalate privileges.
Frequently asked questions
Can this attack work against vLLM deployments that don't process video or multimodal input?
No. The vulnerability is specific to the video/jpeg processing code path. If your vLLM instance is configured to handle only text inputs, or if the chat completions endpoint rejects video data, this vulnerability does not apply. However, the safest approach is to patch regardless, since configuration changes can inadvertently enable video processing.
Does authentication protect against this attack?
No. The vulnerability exists in the OpenAI-compatible chat completions API, which can be called without credentials. If your deployment enforces API key authentication, it provides a mitigation but not a fix; an attacker with a valid API key (whether stolen or obtained through other means) can still exploit it. Patching is the only reliable remedy.
What is the difference between this vulnerability and typical API rate limiting?
Rate limiting restricts the number of requests per second or user, but a single malicious request can trigger this DoS. An attacker sends one request with thousands of frames, overwhelming memory before rate-limit protections can fire. Request size limits and memory-aware limits are more effective controls than request-count rate limiting alone.
Will upgrading vLLM break my existing multimodal workloads?
Patched versions will enforce frame count limits, which may affect workflows using extremely high frame counts. Review your typical use cases during testing; legitimate video summarization or analysis rarely requires more than a few dozen frames per request. The patch is designed to prevent abuse while preserving normal multimodal operations. Test in staging to verify compatibility.
This analysis is provided for informational and defensive purposes. It does not constitute legal or professional security advice. Organizations must conduct their own risk assessments and compliance reviews based on their specific deployments, threat models, and regulatory obligations. Patch information should be verified against official vendor advisories and release notes. SEC.co makes no warranty regarding the completeness or accuracy of this intelligence and assumes no liability for decisions made in reliance upon it. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-40983HIGHMicrometer gRPC Denial-of-Service Vulnerability
- CVE-2026-40984HIGHMicrometer Denial-of-Service Vulnerability – HTTP Request Handling Flaw
- CVE-2026-44250HIGHNetty Redis Codec Denial-of-Service via Nested Array Memory Exhaustion
- CVE-2026-44890HIGHNetty Redis Codec Memory Exhaustion Denial of Service
- CVE-2026-45591HIGHASP.NET Core Remote Denial-of-Service Vulnerability – Patch Guidance
- CVE-2026-49361HIGHApache Fluss Remote Denial of Service via Oversized Frame
- CVE-2026-50011HIGHNetty Redis Memory Exhaustion Denial of Service
- CVE-2026-45031MEDIUMImageMagick PSD Decoder Resource Policy Bypass