CVE-2026-18393: FFmpeg: heap overflow via crafted TDSC cursor in video
MEDIUMA heap buffer overflow in FFmpeg's tdsc_load_cursor() function lets a specially crafted video file corrupt memory beyond an allocated buffer, potentially crashing the process or, in a worst case, executing arbitrary code. The attack requires adjacent-network positioning, high attack complexity, and user interaction, and there is no EPSS score, no CISA KEV listing, no public exploit, and no scanner template, so real-world exploitation likelihood today is low. The concern for CISOs is blast radius: FFmpeg sits underneath 128 downstream dependents and is bundled into the rhoai/odh-vllm-gaudi-rhel9 image, meaning it can be reachable from multimodal AI pipelines that decode or transcode video uploads before feeding frames to a model. With 96 other known CVEs in FFmpeg and a package risk score of 61/100, this is one more entry in a chronically vulnerable dependency rather than an isolated incident. Patch to the fixed commit (242ff799c75f) in any FFmpeg build used by media-ingestion or vision-language model pipelines, and until patched, avoid processing untrusted or externally-sourced video in the same process space as production inference workloads.
What is the risk?
Medium severity (CVSS 5.4) reflects a constrained exploitation path: adjacent-network access, high attack complexity, and required user interaction significantly limit remote drive-by exploitation compared to a typical internet-facing RCE. Confidentiality impact is none, integrity is low, but availability impact is high — the most probable outcome is a denial-of-service crash of the decoding process rather than reliable code execution. Risk rises specifically where FFmpeg runs inside automated, unattended pipelines (e.g., a vLLM Gaudi multimodal serving container that ingests video without a human validating each file), which effectively removes the 'user interaction' barrier CVSS assumes. No active exploitation, KEV listing, EPSS score, or public PoC exists, so urgency is driven by exposure (is FFmpeg reachable from untrusted video input in an AI service) rather than by known in-the-wild abuse.
How does the attack unfold?
What systems are affected?
How severe is it?
What is the attack surface?
What should I do?
1 stepPatch FFmpeg to the version containing the fix from commit 242ff799c75f20bade946314c8d741d0887ee11c (see patchwork.ffmpeg.org). For the rhoai/odh-vllm-gaudi-rhel9 image, pull and redeploy an updated container once Red Hat ships a rebuilt image referencing the patched FFmpeg (track bugzilla.redhat.com#2520309). Until patched, restrict video ingestion to trusted sources, run FFmpeg decoding in an isolated/sandboxed process (seccomp, gVisor, or a dedicated low-privilege container) separate from the model-serving process, and reject or pre-validate video files with unexpected TDSC cursor structures where feasible. Detection: monitor FFmpeg/decoding worker crash logs and unexpected process restarts in media-ingestion pipelines as a leading indicator of exploitation attempts.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-18393?
A heap buffer overflow in FFmpeg's tdsc_load_cursor() function lets a specially crafted video file corrupt memory beyond an allocated buffer, potentially crashing the process or, in a worst case, executing arbitrary code. The attack requires adjacent-network positioning, high attack complexity, and user interaction, and there is no EPSS score, no CISA KEV listing, no public exploit, and no scanner template, so real-world exploitation likelihood today is low. The concern for CISOs is blast radius: FFmpeg sits underneath 128 downstream dependents and is bundled into the rhoai/odh-vllm-gaudi-rhel9 image, meaning it can be reachable from multimodal AI pipelines that decode or transcode video uploads before feeding frames to a model. With 96 other known CVEs in FFmpeg and a package risk score of 61/100, this is one more entry in a chronically vulnerable dependency rather than an isolated incident. Patch to the fixed commit (242ff799c75f) in any FFmpeg build used by media-ingestion or vision-language model pipelines, and until patched, avoid processing untrusted or externally-sourced video in the same process space as production inference workloads.
Is CVE-2026-18393 actively exploited?
No confirmed active exploitation of CVE-2026-18393 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-18393?
Patch FFmpeg to the version containing the fix from commit 242ff799c75f20bade946314c8d741d0887ee11c (see patchwork.ffmpeg.org). For the rhoai/odh-vllm-gaudi-rhel9 image, pull and redeploy an updated container once Red Hat ships a rebuilt image referencing the patched FFmpeg (track bugzilla.redhat.com#2520309). Until patched, restrict video ingestion to trusted sources, run FFmpeg decoding in an isolated/sandboxed process (seccomp, gVisor, or a dedicated low-privilege container) separate from the model-serving process, and reject or pre-validate video files with unexpected TDSC cursor structures where feasible. Detection: monitor FFmpeg/decoding worker crash logs and unexpected process restarts in media-ingestion pipelines as a leading indicator of exploitation attempts.
What systems are affected by CVE-2026-18393?
This vulnerability affects the following AI/ML architecture patterns: model serving, multimodal inference pipelines, media preprocessing pipelines.
What is the CVSS score for CVE-2026-18393?
CVE-2026-18393 has a CVSS v3.1 base score of 5.4 (MEDIUM). The EPSS exploitation probability is 0.36%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0029Denial of AI ServiceAML.T0049Exploit Public-Facing ApplicationCompliance Controls Affected
What are the technical details?
Original Advisory
A flaw was found in FFmpeg. The tdsc_load_cursor() function writes beyond the bounds of a heap-allocated buffer when processing crafted TDSC cursor data. A remote attacker could exploit this by supplying a specially crafted video file, potentially leading to a denial of service or arbitrary code execution.
Exploitation Scenario
An attacker positioned on the same network segment (or able to get a target/service to fetch a file from an adjacent host) crafts a video file containing a malformed TDSC cursor block designed to overflow a heap buffer in tdsc_load_cursor(). They submit or deliver this file to a video-ingestion feature of an AI service — for example, a multimodal model-serving endpoint built on the rhoai/odh-vllm-gaudi-rhel9 image that accepts video uploads for captioning or analysis, or a human user who opens the file locally, satisfying the CVSS 'user interaction required' condition. When FFmpeg parses the cursor data, the heap overflow corrupts adjacent memory, crashing the decoding worker (denial of service for the inference pipeline) or, if the attacker achieves reliable heap grooming, executing arbitrary code within the container running the AI workload.
Weaknesses (CWE)
CWE-787 — Out-of-bounds Write: The product writes data past the end, or before the beginning, of the intended buffer.
- [Requirements] Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
- [Architecture and Design] Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega [REF-57], and the Strsafe.h library from Microsoft [REF-56]. These libraries provide safer versions of overflow-prone string-handling functions.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:HReferences
Timeline
Related Vulnerabilities
CVE-2026-6173210.0Decepticon: ChatML token injection yields sandbox RCE
Same package: vllmCVE-2024-110419.8vllm: RCE via unsafe pickle deserialization in MessageQueue
Same package: vllmCVE-2026-259609.8vllm: SSRF allows internal network access
Same package: vllmCVE-2025-472779.8vLLM: RCE via exposed TCPStore in distributed inference
Same package: vllmCVE-2024-90539.8vllm: RCE via unsafe pickle deserialization in RPC server
Same package: vllm