CVE-2026-70631
FFmpeg 0.5 < 9.0 Uninitialized Heap Memory Read in TIFF Decoder
Reported by vulncheck · Published August 6, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ffmpeg-cuda-fips-8.1 | Chainguard | 8.1.3-r0 |
| ffmpeg-8.1 | Wolfi | 8.1.3-r0 |
| FFmpeg | FFmpeg | 9.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | 0.5 |
| FFmpeg | FFmpeg | 0.5 |
| chainguard | ffmpeg-cuda-fips-8.1 | 0 |
| wolfi | ffmpeg-8.1 | 0 |
| ffmpeg | ffmpeg | 0.5 |
| chainguard | ffmpeg-fips-8.1 | 0 |
| chainguard | ffmpeg-8.1 | 0 |
| alpine | ffmpeg | 0 |
Timeline
- Aug 6, 2026 CVE Published
- Aug 7, 2026 EPSS Score (11 in total, the first dated here)
- Aug 7, 2026 Coalition ESS Score
- Aug 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-70631
vulnetix vdb fixes CVE-2026-70631
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-70631/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Pull Request issue-tracking
- Introducing Commit related
- Patch Commit patch
- FFmpeg 9.0 Backport Commit patch
- third-party-advisory