Skip to main content

FFmpeg CVE-2026-125100

| EUVDEUVD-2026-120254 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-11-09 disclosure@vulncheck.com GHSA-h7c2-jrhx-3h4h
4.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft tiled OpenEXR with large dims, tiny tiles
  2. Delivery
    Deliver file to FFmpeg-based decoder
  3. Exploit
    Overflow 32-bit tile block count
  4. Execution
    Decoder skips frame population
  5. Impact
    Leak uninitialized/stale frame memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application actually invoke FFmpeg's OpenEXR decoder (exr.c decode_frame) on an attacker-supplied, tiled OpenEXR file whose large image dimensions combined with small tile_attr.xSize/ySize overflow the 32-bit nb_blocks tile-count computation; scanline (non-tiled) EXR files do not trigger it. Limiting factors: the attack vector is local (AV:L) - the attacker must get the crafted file to a local decode path, and the victim or application must process it (UI:P), so there is no unauthenticated remote network trigger. Impact is confined to confidentiality (disclosure of uninitialized or stale frame memory); there is no integrity or availability impact, and no code execution is described. Affected only through FFmpeg 9.0.2; builds containing the int64_t fix commit are not vulnerable.

Impact

This is a low-to-moderate priority issue despite FFmpeg's enormous deployment footprint. The CVSS 4.0 base score of 4.8 reflects a constrained attack: AV:L (local - the attacker cannot trigger this over a network directly; a crafted OpenEXR file must be fed to the decoder), UI:P (the victim/application must process the file), and impact limited to VC:L with no integrity or availability effect (VI:N/VA:N) - consistent with an information-disclosure bug that leaks uninitialized memory or stale frame data rather than enabling code execution. The vuln.today decision label is 'this_month', not act_now/emergency, which aligns with the limited impact. No CISA KEV entry is present (not confirmed actively exploited), no EPSS exploitation-probability score was supplied in the input (cannot quantify likelihood of exploitation activity), and no public exploit or PoC reference is provided - only a fixing commit and a vendor advisory. The signals are internally consistent: a real but low-severity confidentiality flaw in a ubiquitous library. The main nuance is the gap between the product's massive prevalence and the modest per-instance severity: widespread deployment raises aggregate exposure, but the local vector, required user interaction, and leak-only impact keep real-world urgency low. EPSS is missing, so widespread-exploitation probability cannot be assessed from the data.

Exploit ScenarioDerived

An attacker crafts a tiled OpenEXR image with large canvas dimensions and small tile sizes so the tiled block count overflows a 32-bit integer, and delivers it to an application that decodes EXR via FFmpeg's libavcodec (e.g., a media/transcoding pipeline or image viewer). The miscalculated block count causes the decoder to skip populating the frame, so the output contains uninitialized heap memory or stale data from a previously decoded frame, which may then be rendered, re-encoded, or returned to the attacker. No public exploit was identified; exploitation is local and requires the victim to process the malicious file (AV:L/UI:P).

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 integer overflow in FFmpeg's OpenEXR decoder (libavcodec/exr.c decode_frame) causes the tiled-image block count to be computed in a 32-bit int, so a crafted tiled EXR with large image dimensions and small tile sizes can overflow the count and cause decode to be skipped, exposing uninitialized memory or stale frame data to the caller. Only builds up to and including FFmpeg 9.0.2 are affected, and only when the application actually decodes an attacker-supplied tiled OpenEXR file; scanline (non-tiled) EXR input does not trigger the flaw. The assessed impact is limited to low confidentiality disclosure (CVSS 3.1 AV:L/AC:L/PR:N/UI:R/C:L only), there is no integrity, availability or code-execution impact described, and no public exploit has been identified at time of analysis.

RemediationAI

Apply the upstream fix commit c05d46ea2919da83233bf4216d3f58428bb54c59 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25715), which changes nb_blocks to int64_t and casts the tile-count division accordingly; this is an upstream fix and a released patched FFmpeg version number is not independently confirmed, so distributions and embedders should track their own backport status and rebuild or backport the commit rather than assume a tagged release is available. Until a fixed build is deployed, the practical compensating control is to keep untrusted OpenEXR input away from the tiled decoder path - for example by refusing or pre-screening EXR files whose header declares tiled storage with very small tile sizes relative to the image dimensions, or by disabling OpenEXR decoding entirely in pipelines that accept third-party media; the trade-off is loss of EXR support in that pipeline, and header-based screening is fragile because the attributes are attacker-controlled. Note that scanline (non-tiled) EXR files do not trigger the overflow, and the advisory is tracked at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-integer-overflow-in-openexr-decoder-tile-count.

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 OpenEXR demuxer/decoder handles both scanline and tiled EXR layouts; for tiled images it derives the number of blocks as ((xdelta + tile_attr.xSize - 1) / tile_attr.xSize) * ((ydelta + tile_attr.ySize - 1) / tile_attr.ySize) and stores the result in an int nb_blocks. This is a CWE-190 integer overflow: with attacker-controlled huge image dimensions and very small tile_attr.xSize/ySize values, the 32-bit product wraps, the computed block count no longer matches the real tile grid, and the decoder silently skips the affected tile decoding, leaving the output frame populated with uninitialized or previously used memory rather than the intended pixel data. The upstream fix (commit c05d46ea2919da83233bf4216d3f58428bb54c59, corresponding to PR 25715) widens nb_blocks to int64_t and casts the tile-count division to int64_t so the computation cannot wrap. The vulnerability is exercised only in the tiled OpenEXR path reached through decode_frame in libavcodec/exr.c (reference points at line 2219 of the n9.0.2 source); scanline EXR decoding uses a different count path and is not affected. Exploitation is local in vector terms: an attacker must deliver the crafted file into a decode path on the target and the user or application must process it (UI:R/UI:P), so there is no unauthenticated remote network trigger.

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

AV:L because a crafted file must reach a local decode path and UI:R because the file must be processed; impact is a bounded memory leak, so C:L with I:N/A:N.

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

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
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg through 9.0.2 contains an integer overflow vulnerability in the OpenEXR decoder's decode_frame() in libavcodec/exr.c that miscalculates the tiled block count. Attackers can supply a crafted tiled OpenEXR image with large dimensions and small tiles to skip decoding and disclose uninitialized memory or stale frame data.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded across countless media players, servers and 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

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

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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