{"id":"CVE-2026-34755","aliases":["CVE-2026-34755","GHSA-pq5c-rjhq-qp7p","PYSEC-2026-144"],"related":[],"kind":"vulnerability","state":"published","title":"vLLM Affected by Denial of Service via Unbounded Frame Count in video/jpeg Base64 Processing","summary":"vLLM is an inference and serving engine for large language models (LLMs). From 0.7.0 to before 0.19.0, the VideoMediaIO.load_base64() method at vllm/multimodal/media/video.py 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, 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. This vulnerability is fixed in 0.19.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"vLLM is an inference and serving engine for large language models (LLMs). From 0.7.0 to before 0.19.0, the VideoMediaIO.load_base64() method at vllm/multimodal/media/video.py 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, 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. This vulnerability is fixed in 0.19.0.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe `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.\n\n## Details\n\n### Vulnerable code\n\n```python\n# video.py:51-62\ndef load_base64(self, media_type: str, data: str) -> tuple[npt.NDArray, dict[str, Any]]:\n    if media_type.lower() == \"video/jpeg\":\n        load_frame = partial(self.image_io.load_base64, \"image/jpeg\")\n        return np.stack(\n            [np.asarray(load_frame(frame_data)) for frame_data in data.split(\",\")]\n            #                                                       ^^^^^^^^^^\n            # Unbounded split — no frame count limit\n        ), {}\n    return self.load_bytes(base64.b64decode(data))\n```\n\nThe `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.\n\n### video/jpeg is part of vLLM's public API\n\n`video/jpeg` is a vLLM-specific MIME type, not IANA-registered. However it is part of the public API surface:\n\n- `encode_video_url()` at `vllm/multimodal/utils.py:96-108` generates `data:video/jpeg;base64,...` URLs\n- Official test suites at `tests/entrypoints/openai/test_video.py:62` and `tests/entrypoints/test_chat_utils.py:153` both use this format\n\n### Memory amplification\n\nEach 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.\n\n### Data flow\n\n```\nPOST /v1/chat/completions\n  → chat_utils.py:1434   video_url type → mm_parser.parse_video()\n  → chat_utils.py:872    parse_video() → self._connector.fetch_video()\n  → connector.py:295     fetch_video() → load_from_url(url, self.video_io)\n  → connector.py:91      _load_data_url(): url_spec.path.split(\",\", 1)\n                          → media_type = \"video/jpeg\"\n                          → data = \"<frame1>,<frame2>,...,<frame10000>\"\n  → connector.py:100     media_io.load_base64(\"video/jpeg\", data)\n  → video.py:54          data.split(\",\")  ← UNBOUNDED\n  → video.py:55-57       all frames decoded into numpy arrays\n  → video.py:56          np.stack([...])  ← massive combined array → OOM\n```\n\n`connector.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`.\n\n### Comparison with existing protections\n\n| Code Path | Frame Limit | File |\n|-----------|-------------|------|\n| `load_bytes()` (binary video) | Yes — `num_frames` (default 32) | video.py:46-49 |\n| `load_base64(\"video/jpeg\", ...)` | No — unlimited `data.split(\",\")` | video.py:51-62 |","format":"markdown","source":"ghsa"}],"published":"2026-04-03T21:51:35.000Z","modified":"2026-09-10T03:51:02.464Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":">= 0.7.0, < 0.19.0","status":"affected"}],"vendor":"vllm-project","product":"vllm","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782951012","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat AI Inference Server 3.2","package":"rhaiis/vllm-cuda-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782951244","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat AI Inference Server 3.2","package":"rhaiis/vllm-rocm-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3.2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787151769","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat AI Inference Server 3.4","package":"rhaii/vllm-cpu-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787151840","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat AI Inference Server 3.4","package":"rhaii/vllm-spyre-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787151771","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat AI Inference Server 3.4","package":"rhaii/vllm-cuda-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787151774","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat AI Inference Server 3.4","package":"rhaii/vllm-rocm-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787310717","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI 3.4","package":"rhelai3/disk-image-cuda-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787253912","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI 3.4","package":"rhelai3/bootc-aws-cuda-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787253989","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI 3.4","package":"rhelai3/bootc-azure-cuda-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787254059","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI 3.4","package":"rhelai3/bootc-azure-rocm-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787243961","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI 3.4","package":"rhelai3/bootc-cuda-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787253774","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI 3.4","package":"rhelai3/bootc-gcp-cuda-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3.4::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1787244006","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI 3.4","package":"rhelai3/bootc-rocm-rhel9","cpe":"cpe:/a:redhat:enterprise_linux_ai:3.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat AI Inference Server","package":"rhaiis/vllm-neuron-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat AI Inference Server","package":"rhaiis/vllm-tpu-rhel9","cpe":"cpe:/a:redhat:ai_inference_server:3","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-kserve-agent-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-kserve-controller-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-kserve-router-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-kserve-storage-initializer-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-vllm-cpu-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-vllm-cuda-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-vllm-gaudi-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-vllm-rocm-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.7.0","status":"affected","fixed":"0.19.0"}],"ecosystem":"PyPI","package":"vllm","purl":"pkg:pypi/vllm","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.7.0","fixed":"0.19.0"}],"vendor":"vllm","product":"vllm","cpe":"cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.7.0","status":"affected","fixed":"0.19.0"}],"ecosystem":"PyPI","package":"vllm","purl":"pkg:pypi/vllm","source":"pysec"}],"references":[{"url":"https://github.com/vllm-project/vllm/security/advisories/GHSA-pq5c-rjhq-qp7p","tags":["fix","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-34755","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455403","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34755.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:36005","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:36006","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57380","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57389","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57390","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57387","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:59151","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:59144","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34755","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vllm-project/vllm/pull/38636","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vllm-project/vllm/commit/58ee61422169ce17e08248f8efa1e9df434fe395","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vllm-project/vllm","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2026-144.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-06T18:36:13.854Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34755","url":"https://www.cve.org/CVERecord?id=CVE-2026-34755","licence":"CVE Terms of Use","modified":"2026-08-25T12:05:44.994Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pq5c-rjhq-qp7p","url":"https://github.com/advisories/GHSA-pq5c-rjhq-qp7p","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:02.464Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34755","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34755","licence":"Public domain","modified":"2026-08-25T13:18:39.240Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-144","url":"https://osv.dev/vulnerability/PYSEC-2026-144","licence":"CC-BY-4.0","modified":"2026-05-20T09:19:21.539Z"}],"updatedAt":"2026-11-25T22:59:18.023Z","epss":{"score":0.00493,"percentile":0.43928,"date":"2026-12-01T12:00:22.000Z"}}