CVE-2026-70631FFmpeg 0.5 < 9.0 Uninitialized Heap Memory Read in TIFF Decoder
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ffmpeg | Fix pending | UBUNTU-CVE-2026-70631 | |
| Ubuntu 26.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-70631 | |
| Ubuntu 24.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-70631 | |
| Ubuntu 22.04 | ffmpeg | Fix pending | 7:4.4.2-0ubuntu0.22.04.1+esm16 (Ubuntu Pro) | UBUNTU-CVE-2026-70631 |
| Ubuntu 20.04 | ffmpeg | Fix pending | 7:4.2.7-0ubuntu0.1+esm17 (Ubuntu Pro) | UBUNTU-CVE-2026-70631 |
| Ubuntu 18.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-70631 | |
| Ubuntu 16.04 | ffmpeg | Fix pending | UBUNTU-CVE-2026-70631 | |
| Ubuntu 14.04 | libav | Fix pending | UBUNTU-CVE-2026-70631 | |
| Debian 14 | ffmpeg | Fixed | 7:9.0.2-1 | DEBIAN-CVE-2026-70631 |
| Debian 13 | ffmpeg | Fix pending | DEBIAN-CVE-2026-70631 | |
| Debian 12 | ffmpeg | Fix pending | DEBIAN-CVE-2026-70631 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FFmpeg: affected: 0.5 to before 9.0; fixed in
9.0
Vendor advisories:
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/2f234ea34c81288e3840fca632dd16481d8de39f (patch)
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/3c287af3affe1286350faa69c02bcc5d49de18bb (patch)
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23899
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/a991b1fecbd8c9e6f4fc31c191bd12e4be27dbf7
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/2f234ea34c81288e3840fca632dd16481d8de39f
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/3c287af3affe1286350faa69c02bcc5d49de18bb
- https://www.vulncheck.com/advisories/ffmpeg-uninitialized-heap-memory-read-in-tiff-decoder
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.