Heap Memory Disclosure Vulnerability in FFmpeg's TIFF Decoder
CVE-2026-70631

6.8MEDIUM

Key Information:

Vendor

Ffmpeg

Status
Vendor
CVE Published:
6 August 2026

What is CVE-2026-70631?

An uninitialized heap memory disclosure vulnerability exists within the native TIFF decoder of FFmpeg, specifically in the libavcodec/tiff.c file. This vulnerability arises when an attacker crafts a TIFF file that leads FFmpeg to decode it, resulting in successful termination after producing fewer bytes than required. The tiff_unpack_zlib() function dynamically allocates a heap buffer for the entire declared strip but uses memcpy() to copy all declared rows, regardless of the actual bytes decompressed by zlib. This can inadvertently incorporate stale data from previous heap allocations into the decoded output, creating a risk of exposing sensitive information through persistent services.

Affected Version(s)

FFmpeg 0.5 < 9.0

References

CVSS V4

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Adrian Junge (vurlo)
.