Skip to main content

FFmpeg EUVDEUVD-2026-120267

| CVE-2026-125178 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-09 disclosure@vulncheck.com GHSA-g34h-f9qp-wr9m
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious AVI with oversized TDSC cursor dimensions
  2. Delivery
    Deliver file to a victim or FFmpeg transcoding pipeline
  3. Exploit
    TDSC decoder stores unvalidated dimensions
  4. Execution
    tdsc_paint_cursor() reads past cursor buffer
  5. Impact
    Crash 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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

Vendor (vulncheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.1 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded in countless players, servers, and transcoding pipelines
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

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

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

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

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy