vLLM is vulnerable to an Out-of-Memory (OOM) Denial of Service (DoS) attack due to unbounded frame count processing in the `VideoMediaIO.load_base64()` method
GHSA-wcwg-c5fc-9vrc · CVE-2026-5497 · PYSEC-2026-2302
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-5497
- WEB https://github.com/vllm-project/vllm/commit/58ee61422169ce17e08248f8efa1e9df434fe395
- WEB https://access.redhat.com/errata/RHSA-2026:33524
- WEB https://access.redhat.com/errata/RHSA-2026:33531
- WEB https://access.redhat.com/security/cve/CVE-2026-5497
- WEB https://bugzilla.redhat.com/show_bug.cgi?id=2487813
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2026-2302.yaml
- PACKAGE https://github.com/vllm-project/vllm
- WEB https://huntr.com/bounties/7bd92629-b396-4449-8f88-6c0092530eb4
- WEB https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5497.json
Ready to move
Start Securing
Free, no credit card | First findings in minutes