Cloudanix VulnDB

CVE-2026-70631

Medium · 5.5

CVSS

5.5

EPSS

0.2%

Published

Aug 6, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in widely used video and image software can accidentally include leftover private data from computer memory when it processes certain specially made image files.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Uninitialized heap memory disclosure in the native TIFF decoder where tiff_unpack_zlib allocates a buffer sized to the declared strip length but performs memcpy of declared rows after partial zlib decompression, incorporating stale heap bytes into decoded image output.

Why it matters to the business

Processing of untrusted image files in media pipelines or services can leak residual memory contents containing sensitive data from prior operations, raising compliance and data-breach risk for organizations that handle user-supplied TIFF content at scale.

How an attack unfolds

An attacker creates a Deflate-compressed TIFF strip whose actual decompressed length is shorter than declared, supplies the file to any application that invokes FFmpeg's TIFF decoder, triggers decoding, and then inspects the resulting image data for leaked heap contents.

How to fix it

Upgrade FFmpeg to version 9.0 or later; rebuild any dependent applications against the fixed library; where immediate upgrade is impossible, disable TIFF decoding or sandbox the decoder process.

How to confirm the fix worked

Confirm the installed FFmpeg version is 9.0 or newer; run the decoder against a test TIFF constructed with an undersized Deflate strip and verify that output buffers contain only initialized data with no residual heap patterns.

Typical attack path

  1. Craft a TIFF file containing a valid but undersized Deflate strip
  2. Deliver the file to a target that uses FFmpeg for image decoding
  3. Cause the application to invoke the TIFF decoder path in libavcodec/tiff.c
  4. Capture or observe the decoded output containing residual heap bytes
  5. Extract sensitive information from the leaked memory

How to detect it

Monitor logs for FFmpeg processes decoding TIFF files; inspect decoded image outputs or intermediate buffers for unexpected data patterns or sizes that exceed the actual decompressed strip length; correlate with application-level file-upload or media-processing events.

What your security team should do

  • Prioritize upgrade of all FFmpeg installations to 9.0+ within the next patch cycle
  • Inventory applications and services that invoke FFmpeg TIFF decoding
  • Add version checks and automated alerts for ffmpeg < 9.0 in asset-management tooling
  • Consider temporary mitigation by restricting TIFF input or using alternative decoders until patched

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities