# CVE-2026-70631: FFmpeg 0.5 < 9.0 Uninitialized Heap Memory Read in TIFF Decoder

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-06T21:25:53.036Z
- Modified: 2026-09-01T15:33:18.453Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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 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.

(As written by CVE List.)

## Affected

- FFmpeg FFmpeg: from 0.5 before 9.0; from 0.5 before 9

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23899> (issue-tracking, patch)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/a991b1fecbd8c9e6f4fc31c191bd12e4be27dbf7> (patch, related)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/2f234ea34c81288e3840fca632dd16481d8de39f> (patch)
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/3c287af3affe1286350faa69c02bcc5d49de18bb> (patch)
- <https://www.vulncheck.com/advisories/ffmpeg-uninitialized-heap-memory-read-in-tiff-decoder> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2026-70631](https://www.cve.org/CVERecord?id=CVE-2026-70631), CVE Terms of Use, modified 2026-08-14
- NVD: [CVE-2026-70631](https://nvd.nist.gov/vuln/detail/CVE-2026-70631), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-70631 · Whole record: https://cve.day/CVE-2026-70631.json · Rebuilt by cve.day 2026-11-25T22:59:31.798Z
