CVE-2026-18393
Medium · 5.4CVSS
5.4
EPSS
0.4%
Published
Aug 28, 2026
CISA due date
—
Cloudanix analysis
A flaw in widely used video software can let attackers crash systems or take them over by sending a specially made video file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- High
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in tdsc_load_cursor() when parsing crafted TDSC cursor data, causing out-of-bounds writes that corrupt adjacent memory and can lead to denial of service or arbitrary code execution.
Why it matters to the business
Media processing pipelines and applications that rely on FFmpeg may experience outages or full system compromise when handling untrusted video files, with rising exploit likelihood increasing operational risk across video workflows.
How an attack unfolds
An attacker crafts a video file containing malformed TDSC cursor data sized to overflow the heap buffer in tdsc_load_cursor. The file is delivered remotely or locally to any FFmpeg instance that processes it, triggering the overflow during parsing and allowing memory corruption for DoS or code execution.
How to fix it
Update FFmpeg to the latest stable release that contains bounds checks or a corrected tdsc_load_cursor implementation. Rebuild any dependent applications against the patched library and re-test media ingestion paths.
How to confirm the fix worked
Confirm the installed FFmpeg version is newer than the vulnerable release, run regression tests with TDSC-containing sample files, and use memory-safety tools such as ASAN or Valgrind during processing of untrusted media.
Typical attack path
- Create a malicious video containing oversized or malformed TDSC cursor data
- Deliver the file to a target that invokes FFmpeg (network share, upload, or media ingestion)
- Trigger FFmpeg processing of the file through library calls or command-line tools
- Exploit resulting memory corruption to crash the process or execute attacker-controlled code
How to detect it
Search FFmpeg process logs and crash reports for segmentation faults or heap-related errors during TDSC cursor handling; correlate file-processing timestamps with unusual memory usage spikes.
What your security team should do
- Apply the FFmpeg patch immediately in all environments that parse untrusted video
- Isolate or sandbox FFmpeg instances that handle external media files
- Monitor EPSS trend and vendor advisories for further exploitation signals
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-120931 Out of bounds write in WebGL in Google Chrome on on Android prior to 156.0.8078.47… CWE-787
- CVE-2026-61495 TinyUSB through 0.21.0, fixed in commit e85c2b8, contains an out-of-bounds write… CWE-787
- CVE-2026-121037 Out of bounds write in ANGLE in Google Chrome on on Windows prior to 157.0.8103.38… CWE-787
- CVE-2026-120952 An out-of-bounds write in the MongoDB Atlas SQL ODBC Driver may be triggered when a value… CWE-787
- CVE-2026-120959 A memory-handling flaw in the MongoDB Atlas SQL ODBC Driver can cause values returned for… CWE-787
- CVE-2026-63418 Monitoring Plugins is a suite of plugins for monitoring applications. CWE-787
- CVE-2026-40661 An out-of-bounds write (OOW) condition in the AMD Compressonator SDK could allow an… CWE-787
- CVE-2026-121513 Off-by-one Heap Overflow in µD3TN v0.15.1 SPP Parser allows Unauthenticated Remote… CWE-787