Libav: 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… (CVE-2026-70631)
FFmpeg versions from 0.5 up to, but not including, 9.0 contain an uninitialized heap memory disclosure vulnerability in the native TIFF decoder. This flaw allows an attacker who can supply a crafted TIFF file with a valid Deflate-compressed strip that decompresses fewer bytes than declared to cause stale heap data to be included in the decoded image output. This may lead to exposure of sensitive data in persistent services using the affected decoder.
AI Analysis
Technical Summary
The vulnerability exists in the tiff_unpack_zlib() function within libavcodec/tiff.c of FFmpeg versions >=0.5 and <9.0. When decoding a crafted TIFF file, the function allocates a heap buffer sized for the full declared strip but copies all declared rows regardless of the actual decompressed byte count. This results in uninitialized heap memory being copied into the output, potentially disclosing sensitive data from previous heap allocations.
Potential Impact
An attacker able to provide a crafted TIFF file to the vulnerable FFmpeg decoder can cause disclosure of uninitialized heap memory. This may expose sensitive data residing in heap memory of the process using FFmpeg. The vulnerability does not affect integrity or availability, only confidentiality. Exploitation requires local or limited access to supply the crafted file and user interaction to trigger decoding.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor vendor advisories for updates and avoid processing untrusted TIFF files with affected FFmpeg versions.
Libav: 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… (CVE-2026-70631)
Description
FFmpeg versions from 0.5 up to, but not including, 9.0 contain an uninitialized heap memory disclosure vulnerability in the native TIFF decoder. This flaw allows an attacker who can supply a crafted TIFF file with a valid Deflate-compressed strip that decompresses fewer bytes than declared to cause stale heap data to be included in the decoded image output. This may lead to exposure of sensitive data in persistent services using the affected decoder.
CVSS v3.1
Score 5.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the tiff_unpack_zlib() function within libavcodec/tiff.c of FFmpeg versions >=0.5 and <9.0. When decoding a crafted TIFF file, the function allocates a heap buffer sized for the full declared strip but copies all declared rows regardless of the actual decompressed byte count. This results in uninitialized heap memory being copied into the output, potentially disclosing sensitive data from previous heap allocations.
Potential Impact
An attacker able to provide a crafted TIFF file to the vulnerable FFmpeg decoder can cause disclosure of uninitialized heap memory. This may expose sensitive data residing in heap memory of the process using FFmpeg. The vulnerability does not affect integrity or availability, only confidentiality. Exploitation requires local or limited access to supply the crafted file and user interaction to trigger decoding.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor vendor advisories for updates and avoid processing untrusted TIFF files with affected FFmpeg versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5f73-3r3j-p8mr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-70631"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a75739bbf8831d539d91c3b
Added to database: 08/07/2026, 05:56:43 UTC
Last enriched: 09/13/2026, 15:03:23 UTC
Last updated: 09/22/2026, 13:47:48 UTC
Views: 35
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.