CVE-2026-70631
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Aug 6, 2026
CISA due date
—
Cloudanix analysis
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
- Craft a TIFF file containing a valid but undersized Deflate strip
- Deliver the file to a target that uses FFmpeg for image decoding
- Cause the application to invoke the TIFF decoder path in libavcodec/tiff.c
- Capture or observe the decoded output containing residual heap bytes
- 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
- CVE-2026-121227 Uninitialized resource in Skia in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-908
- CVE-2026-121213 Uninitialized resource in Images in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-908
- CVE-2026-121207 Uninitialized resource in Dawn in Google Chrome on on Mac prior to 157.0.8103.38 allowed… CWE-908
- CVE-2026-121176 Uninitialized resource in Media in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-908
- CVE-2026-121173 Uninitialized resource in WebGL in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-908
- CVE-2026-121143 Uninitialized resource in GPU in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-908
- CVE-2026-121095 Uninitialized resource in WebGL in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-908
- CVE-2026-121072 Uninitialized resource in Skia in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-908