Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious AVI with oversized TDSC cursor dimensions
-
DeliveryDeliver file to a victim or FFmpeg transcoding pipeline
-
ExploitTDSC decoder stores unvalidated dimensions
-
Executiontdsc_paint_cursor() reads past cursor buffer
-
ImpactCrash decoder or leak heap memory into frames
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires FFmpeg to decode a crafted AVI file that contains a TDSC (screen-capture) codec stream with cursor dimensions larger than the valid 1-256 range, so that tdsc_paint_cursor() over-reads the cursor buffer. The specific preconditions are: (1) the input must route through the TDSC decoder path (a niche codec, not a default/common container payload), and (2) per UI:P a user or automated pipeline must actually process the malicious file - it is not triggered without that action. Limiting factors that reduce realistic risk: the vector is local (AV:L), not a remote network listener; impact is bounded to a decoder crash or a small heap leak surfaced in decoded frames (no code execution and no integrity impact); and only builds/versions through 9.0.2 that invoke the TDSC decoder are affected. Exposure increases for server-side transcoding of untrusted uploads, where the attacker-controlled file reaches the decoder automatically. |
| Impact | Signals point to a genuine but moderate-priority issue rather than an emergency. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) scores 6.9 (medium): the attack vector is LOCAL and requires passive user interaction (UI:P), i.e. a victim or pipeline must process the attacker's file - this is not a remotely reachable network service by default. Impact is split between a reliable crash (VA:H) and a limited heap information leak into decoded frames (VC:L); there is no integrity impact (VI:N) and no scope change. The vuln.today decision label is 'this_month', consistent with medium severity and not an act_now/emergency classification. No KEV listing, no EPSS score, and no PoC/exploit reference are present in the input, so exploitation is 'no public exploit identified at time of analysis'. A fix commit (12c589a) and a VulnCheck advisory are available, so remediation exists. The main caveat: although CVSS models this as local (AV:L), FFmpeg is frequently used server-side to transcode attacker-supplied uploads, which can raise real-world exposure beyond what AV:L suggests - defenders running such pipelines should weigh that. Absence of EPSS/KEV/PoC is a data gap, not evidence of safety, but combined with the niche TDSC codec path it supports a 'patch in routine cycle' rather than 'drop everything' posture. |
| Exploit ScenarioDerived | An attacker crafts an AVI file containing a TDSC (screen-capture codec) stream whose cursor dimensions are oversized and are stored before being validated. When FFmpeg decodes the file - in a media player or a server-side transcoding pipeline - tdsc_paint_cursor() reads past the cursor buffer, either crashing the decoder (denial of service) or copying adjacent heap memory into the output frames (information disclosure). No public exploit was identified in the provided data; the flaw requires the file to reach FFmpeg's TDSC decode path and some processing action to occur. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
An out-of-bounds heap read in FFmpeg's TDSC screen-capture decoder lets a crafted AVI file crash decoding or leak heap memory into the decoded frame, affecting FFmpeg through 9.0.2. In libavcodec/tdsc.c the cursor width and height are read from the bitstream and stored before the 1-256 validation runs, so tdsc_paint_cursor() subsequently walks past the allocated cursor buffer. The assessed vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H; vendor-adjacent CVSS 4.0 base 6.9) reflects unauthenticated but local-vector exploitation that requires a user or automated pipeline to process the malicious file, with availability impact high, confidentiality low, and no integrity impact; there is no public exploit identified at time of analysis and no confirmed actively exploited (CISA KEV) status, and the fix exists as an upstream commit.
RemediationAI
Apply the upstream fix in commit 12c589a37d093cc55618f8377b092dc21416806f (tracked as PR 24682 at https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24682), which validates the cursor width and height before assigning them to the decoder context and computing the cursor stride; note that the availability of a tagged release containing that commit was not independently confirmed from the supplied data, so verify the commit is present in the FFmpeg revision you build or ship rather than assuming a version number. Where the build cannot be updated immediately, the exposure is bounded by whether the TDSC decoder is reachable at all: builds compiled without the TDSC decoder, or callers that restrict decoder/demuxer selection to an explicit allowlist that excludes TDSC, do not enter the vulnerable path - the trade-off is that legitimate TDSC screen-capture AVIs will no longer decode. The highest-risk deployment is server-side transcoding of untrusted uploads, where the malicious file reaches the decoder without a human in the loop; restricting that pipeline to known-good codecs and isolating the transcoder process limits the consequence to a contained decoder crash or a bounded heap read rather than a service-wide outage. No workaround guidance beyond the upstream fix was provided in the available vendor references.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TDSC is a niche screen-capture codec carried inside AVI containers, decoded by libavcodec/tdsc.c. The vulnerable code path reads cursor metadata with bytestream2_get_le16() in tdsc_paint_cursor() and, in the pre-fix code, writes those attacker-controlled values straight into ctx->cursor_w / ctx->cursor_h and derives ctx->cursor_stride = FFALIGN(ctx->cursor_w, 32) * 4 before the range check for 1-256 executes. Because the dimensions are persisted first, a cursor larger than the validated range produces a stride/buffer size mismatch that tdsc_paint_cursor() then indexes past, which is a classic CWE-125 out-of-bounds read: the decoder either faults (availability) or copies adjacent heap bytes into the rendered frame (information disclosure). The referenced commit 12c589a37d093cc55618f8377b092dc21416806f restructures the function so width and height land in local variables, are validated, and only then are assigned to the context and used to compute the stride. The trigger requires that input actually be routed through the TDSC decoder rather than a default/common container payload, and per the user-interaction metric a person or automated pipeline must open or transcode the file; the vector is local, not a remote network listener, and the flaw yields no code execution or integrity impact.
Know when Ffmpeg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Local processing of a crafted file needing user interaction (AV:L/UI:R); out-of-bounds read leaks limited heap memory (C:L) and reliably crashes the decoder (A:H), with no integrity impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains an out-of-bounds heap read vulnerability in tdsc_load_cursor() in libavcodec/tdsc.c, which stores cursor dimensions before validating them. Attackers can supply a crafted AVI file with oversized TDSC cursor dimensions so tdsc_paint_cursor() reads past the cursor buffer, crashing the decoder or leaking heap memory into frames.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120267
GHSA-g34h-f9qp-wr9m
NVD
CVE.org
EPSS
Exploit-DB