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.
Published: 2026-08-06
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FFmpeg versions 0.5 through 8.x contain a flaw in the native TIFF decoder within libavcodec/tiff.c, identified as CWE-908 (Uninitialized Heap Memory Write) and CWE-824 (Uninitialized Heap Memory Read). When a TIFF file includes a Deflate‑compressed strip that ends early, the decoder allocates a buffer sized for the full declared strip but copies all rows via memcpy regardless of how many bytes zlib actually decompresses. This causes unwritten portions of the buffer—potentially containing stale data from previous heap allocations—to be incorporated into the decoded image output, resulting in a loss of confidentiality as unintended data becomes visible in the final image.

Affected Systems

All FFmpeg binaries from 0.5 up to, but not including, 9.0 are affected. The vulnerability resides in libavcodec/tiff.c, so any application, media service, or system that embeds or links against these FFmpeg versions and processes TIFF files is susceptible. No subcomponent or patch level within this range provides inherent protection.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity, and an EPSS score of <1% suggests a very low but non‑zero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, implying no widespread active exploitation is known. However, exploitation only requires an attacker to supply a malicious TIFF to a service that uses FFmpeg for decoding, a common capability in many media handling applications. Consequently, the risk remains significant for systems that accept external TIFF inputs, and proper remediation should be undertaken promptly.

Generated by OpenCVE AI on August 15, 2026 at 01:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0 or later to include the fix for the TIFF decoder
  • Restrict or disable TIFF decoding for untrusted or external input sources in services that embed FFmpeg
  • Introduce validation that the decompressed strip size matches the declared size before copying to the buffer

Generated by OpenCVE AI on August 15, 2026 at 01:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

Sat, 08 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 17:30:00 +0000


Fri, 07 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title FFmpeg 0.5 < 9.0 Uninitialized Heap Memory Read in TIFF Decoder
Weaknesses CWE-908
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:51:33.474Z

Reserved: 2026-08-04T20:17:18.297Z

Link: CVE-2026-70631

cve-icon Vulnrichment

Updated: 2026-08-08T02:44:13.411Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:27.420

Modified: 2026-08-08T03:16:47.057

Link: CVE-2026-70631

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-06T21:25:53Z

Links: CVE-2026-70631 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T01:30:17Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer

  • CWE-908

    Use of Uninitialized Resource