Skip to main content

FFmpeg CVE-2026-70631

| EUVDEUVD-2026-54164 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-08-06 disclosure@vulncheck.com GHSA-5f73-3r3j-p8mr
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Recon
    Craft valid TIFF with Deflate strip inflating short
  2. Delivery
    Deliver file to FFmpeg-processing service
  3. Exploit
    tiff_unpack_zlib() decompresses without error
  4. Install
    memcpy copies full declared strip size
  5. C2
    Uninitialised heap bytes embedded in decoded output
  6. Execute
    Retrieve processed image
  7. Impact
    Extract stale heap data from pixel rows

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Exploitation requires that an attacker can cause FFmpeg to process a crafted TIFF file containing a Deflate-compressed strip whose compressed payload inflates to fewer bytes than the strip's declared dimensions. This does not require a malformed zlib stream - the compressed data must be structurally valid and decompress without error; only the byte count is engineered to fall short of the declared strip size. The attacker must additionally be able to retrieve the decoded output image to observe the leaked heap bytes embedded in the strip rows. Exploitation is most realistic in server-side image processing pipelines where untrusted TIFF files are accepted as input and processed output is returned to the submitter. No prior system authentication, elevated privileges, or non-default FFmpeg configuration is required - the TIFF format with Deflate strip compression is a standard, widely-supported TIFF variant enabled by default. The key limiting factor is AV:L (local): the crafted file must reach the FFmpeg process, which in practice means either direct filesystem access or indirect delivery through a service that passes user-supplied data to FFmpeg. Services that process TIFF in-process and expose output are the realistic threat surface; offline batch processing with no output retrieval path is not exploitable for data leakage.

Impact

The CVSS 4.0 score of 6.8 with VC:H accurately signals a meaningful confidentiality risk, but the local attack vector (AV:L) and required user interaction (UI:P) substantially limit mass exploitation. The practical risk is heavily deployment-dependent: in server-side FFmpeg pipelines that ingest untrusted TIFF files and return processed output, this vulnerability enables incremental heap harvesting with no authentication required and low attack complexity - a realistic, repeatable primitive against exposed services. In offline or desktop contexts, the attacker must already control the file being processed, reducing the threat considerably. No EPSS score was available in the provided data, so exploitation probability cannot be quantified; absence of a CISA KEV listing suggests no observed widespread exploitation at time of analysis. The gap between the high VC:H rating and the moderate overall score is consistent with the local-only delivery constraint suppressing the base score. No conflicting signals were identified between the CVSS vector and the vulnerability description - both consistently indicate file-based local delivery requiring a processing trigger.

Exploit ScenarioDerived

An attacker targeting a media transcoding API submits a crafted TIFF file whose Deflate-compressed strip is engineered to inflate successfully but produce fewer bytes than the declared strip dimensions require. FFmpeg's tiff_unpack_zlib() decompresses the strip without error, then executes memcpy() over the full declared size, embedding stale bytes from prior heap allocations into the decoded pixel rows. The attacker retrieves the processed output image and inspects anomalous pixel values in the affected strip region to recover fragments of in-process heap data - potentially including credentials, session tokens, or data from prior requests. No confirmed public proof-of-concept was identified, but the primitive is straightforward to construct given the upstream commit diff.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 06, 2026

Uninitialized heap memory disclosure in FFmpeg's native TIFF decoder (libavcodec/tiff.c) exposes stale heap contents to any party able to retrieve decoded image output. Affected versions span 0.5 through 8.x; FFmpeg 9.0 carries the upstream fix. In server-side media pipelines that accept and return processed TIFF files - transcoding APIs, thumbnail generators, upload handlers - an attacker can craft a structurally valid Deflate-compressed TIFF strip that inflates short, causing the decoder to embed prior heap allocation remnants into the decoded output, potentially leaking sensitive in-process data. No active exploitation is confirmed (not in CISA KEV) and no standalone public exploit code was identified at time of analysis.

RemediationAI

The primary remediation is upgrading FFmpeg to version 9.0 or later, which incorporates the upstream fix via commits 2f234ea34c81288e3840fca632dd16481d8de39f, 3c287af3affe1286350faa69c02bcc5d49de18bb, and a991b1fecbd8c9e6f4fc31c191bd12e4be27dbf7 (PR #23899 at code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23899). A vendor-released patch is confirmed available. For environments unable to upgrade immediately, consider: (1) Blocking TIFF input at the ingestion layer - allowlist accepted formats and reject TIFF entirely; this eliminates the attack surface but removes TIFF transcoding capability; (2) Running FFmpeg in an isolated subprocess or container with a minimal heap footprint and no access to sensitive application memory, limiting the value of any leaked data; (3) Zero-filling output image buffers before passing them to FFmpeg when it is invoked as a linked library, preventing stale heap reuse - this adds per-call memory overhead. Upgrade is strongly preferred; workarounds carry ongoing operational cost and do not eliminate the defect.

Affected VersionsENISA

FFmpeg 0.5 <9.0

Affected Packages

euvd ffmpeg fix: 9.0

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 TIFF decoder in libavcodec/tiff.c handles Deflate-compressed strips through the tiff_unpack_zlib() function. The function allocates a heap buffer sized to the full declared strip length derived from image metadata, then decompresses the strip payload via zlib. The defect is that tiff_unpack_zlib() unconditionally copies all declared rows via memcpy() using the declared (not actual) decompressed byte count. A valid Deflate stream that inflates to fewer bytes than declared - a structurally legitimate outcome - leaves the tail of the heap allocation populated with whatever stale bytes occupied that region from prior allocations. These uninitialised bytes are then incorporated into decoded image data and may be returned to the caller. CWE-908 (Use of Uninitialized Resource) precisely describes this root cause: the resource (heap buffer tail) is consumed before being initialised. The CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N confirms: local file delivery, low complexity, no special attack preconditions, passive user or pipeline trigger, and high confidentiality impact with no integrity or availability consequence. Affected components are tracked under ENISA EUVD-2026-54164 and upstream commits 2f234ea, 3c287af3, and a991b1fe.

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

Crafted file must be delivered and processed locally (AV:L); no system privileges required from attacker (PR:N); processing trigger required (UI:R); high confidentiality via heap disclosure only, no integrity or availability impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Red Hat 5.5 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
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 06, 2026 - 23:03 EUVD
CVE Published
Aug 06, 2026 - 22:18 cve.org
MEDIUM 6.8

DescriptionCVE.org

FFmpeg versions from 0.5 up to, but not including, 9.0 contain an uninitialized heap memory disclosure vulnerability in the native TIFF decoder in libavcodec/tiff.c. An attacker who can cause FFmpeg to decode a crafted TIFF file can supply a valid Deflate-compressed strip that terminates successfully after producing fewer bytes than the declared strip requires. The tiff_unpack_zlib() function allocates a heap buffer sized for the full declared strip but copies all declared rows via memcpy() regardless of how many bytes zlib actually decompressed, causing unwritten bytes that can contain stale data from prior heap allocations to be incorporated into decoded image output and potentially exposing sensitive data in persistent services.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
dominant open-source multimedia framework embedded in thousands of applications and services
Data Quality
6 sources
Confidence: High

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 Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

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

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

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

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