Skip to main content

FFmpeg CVE-2026-125188

| EUVDEUVD-2026-120277 LOW
Buffer Under-read (CWE-127)
2026-11-09 disclosure@vulncheck.com GHSA-j57g-62wm-j7w2
2.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted odd-height interlaced video
  2. Delivery
    Victim encodes with prores_aw (interlaced)
  3. Exploit
    subimage_with_fill_template reads before fill_y buffer
  4. Execution
    Heap contents embedded in ProRes output
  5. Impact
    Attacker retrieves output and extracts leaked data

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires FFmpeg's prores_aw ProRes encoder running in interlaced mode (ctx->is_interlaced) on input whose height is odd / not a multiple of the required alignment (16, or 32 for interlaced), triggering subimage_with_fill_template() to fill bottom padding rows from memory before the fill_y buffer. Limiting factors: the attack vector is local (AV:L) and requires an encoding workflow that processes attacker-supplied frames to interlaced ProRes; complexity is high with a specific attack requirement (AC:H/AT:P); a victim-driven encode is needed (UI:P); and impact is a bounded confidentiality leak only (VC:L) that the attacker must recover from the resulting output file - no integrity or availability impact. The default FFmpeg configuration does not use this encoder/mode, so most deployments are not exposed.

Impact

All signals agree this is a low-priority issue. The supplied CVSS 4.0 base score is 2.0 with a local attack vector (AV:L), high attack complexity (AC:H), a present attack requirement (AT:P), passive user interaction (UI:P), and only low confidentiality impact (VC:L) with no integrity or availability impact - i.e. a bounded heap information-leak, not code execution. The vuln.today decision label is 'monitor', consistent with the low score. No EPSS score, no CISA KEV listing, and no exploit/PoC reference are present in the input, so there is no evidence of active or probable exploitation. Note a tension worth flagging: the product (FFmpeg) is ubiquitous, but the vulnerable path is narrow - it only triggers in the prores_aw encoder when encoding interlaced, odd-height frames - so the realistic exposure is far smaller than FFmpeg's overall footprint would suggest. The CWE-127 (buffer under-read) classification matches the description better than the 'Buffer Overflow' tag, which overstates the mechanism. Net: a genuine but minor defect; prioritize via normal patch cycles, not emergency response.

Exploit ScenarioDerived

An attacker submits a specially crafted odd-height video to a pipeline or user that re-encodes it to ProRes using FFmpeg's prores_aw encoder in interlaced mode. During encoding, subimage_with_fill_template() fills the bottom padding rows from memory located before the fill_y buffer, embedding leaked heap bytes into the encoded ProRes output, which the attacker then retrieves and inspects. Exploitation is local with high complexity (AC:H/AT:P) and depends on a victim-driven encode step (UI:P), limiting practicality.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 prores_aw ProRes encoder (libavcodec/proresenc_anatoliy.c, versions through 9.0.2) allows an attacker-supplied video with an odd height to make the encoder read padding rows from memory located before the fill_y buffer, copying adjacent heap contents into the resulting ProRes output file. Only workflows that encode untrusted frames with the prores_aw encoder in interlaced mode are exposed, and the victim must then hand back or publish the encoded file for the leaked bytes to be recovered; the default FFmpeg configuration does not use this encoder. Impact is limited to a small confidentiality leak (CVSS 3.1 AV:L/AC:H/PR:N/UI:R/C:L, vendor-independent score 2.0), there is no integrity or availability effect, and no public exploit has been identified at time of analysis; the vuln.today decision label is monitor.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply FFmpeg commits ad2287d6d2511af66222e8f7e40d546bc8d461ec and d74f5e0559ba09d942c47687856349b03c1115dd, or the merge from pull request 24490 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24490), and rebuild any application that statically links libavcodec; once a tagged release incorporating these commits ships, upgrade to it rather than relying on a distribution backport that may not carry the interlaced 0x1f alignment check. As compensating controls, disable or remove the prores_aw encoder from exposed builds (build with --disable-encoder=prores_aw, which eliminates the vulnerable path at the cost of losing the legacy encoder; prores_ks remains available), refuse to encode frames whose height is not a multiple of 32 in interlaced mode or a multiple of 16 otherwise (this needs input validation in the calling application, since stock FFmpeg before the patch only checked the 0xf mask), or configure pipelines to use a ProRes encoder other than prores_aw. Note the default FFmpeg configuration does not use this encoder and mode, so most deployments are not exposed. Advisories: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-prores-prores-aw-heap-out-of-bounds-read-in-interlaced-encoding and https://github.com/FFmpeg/FFmpeg.

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

FFmpeg's proresenc_anatoliy.c implements the legacy 'prores_aw' (Anatoliy) ProRes encoder. ProRes compression works on 16x16 macroblocks, and in interlaced mode each macroblock field spans 32 rows, so encoders pad the final rows of a picture when the frame height is not a multiple of the alignment. The helper subimage_with_fill_template() at approximately line 499 builds those padding rows; the fix commit shows that the alignment check in prores_encode_init() previously tested only (avctx->height & 0xf) regardless of interlacing and that prores_encode_picture() used avctx->height rather than the per-picture height when computing the unsafe bottom macroblock limit. With an odd (unaligned) height in interlaced mode, the fill routine read from a region before the fill_y scratch buffer instead of valid picture data - a buffer under-read (CWE-127) - and the stale heap bytes were then encoded into the output bitstream. The upstream patch introduces a picture_height variable, applies it to the unsafe_bot calculation, and widens the init-time alignment validation to (ctx->is_interlaced ? 0x1f : 0xf) for both height and width checks, rejecting the malformed geometry before encoding begins. The flaw affects the FFmpeg library and any application linked against it that exposes this encoder; exploitability depends entirely on whether the deployment permits the prores_aw encoder with interlaced input.

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 2.0 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 2.5 LOW

Local encode of attacker-supplied frames (AV:L) in a specific interlaced/odd-height path (AC:H) requires an operator-run encode (UI:R); only a small heap leak, so C:L and I/A:N.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in libavcodec/proresenc_anatoliy.c that occurs when the prores_aw encoder processes interlaced, odd-height frames. Attackers can supply odd-height video that causes subimage_with_fill_template() to fill padding rows from memory before the fill_y buffer, leaking heap contents into the encoded output.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec pervasive in media pipelines; prores_aw interlaced encoder path rarely used
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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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.

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

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