cve.bz

CVE-2026-70631 ffmpeg ffmpeg: Use of Uninitialized Resource

6.8 mediumEPSS 0.2%Fix available

Medium (6.8) in ffmpeg ffmpeg. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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

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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-908 Use of Uninitialized Resource
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-70631 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-70631?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-70631?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-70631 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FFmpegfrom 0.5 before 9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ffmpegno fix listedDEBIAN-CVE-2026-70631
Debian14ffmpeg7:9.0.2-1DEBIAN-CVE-2026-70631
Ubuntu26.10, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreffmpegno fix listedUBUNTU-CVE-2026-70631
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2026-70631
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm17UBUNTU-CVE-2026-70631 USN-8750-1
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm16UBUNTU-CVE-2026-70631 USN-8750-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 moreffmpeg3.4.2-150200.11.88.1SUSE-SU-2026:5220-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 moreffmpeg-44.4.8-150400.3.75.1SUSE-SU-2026:4150-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7ffmpeg-44.4.8-150600.13.55.1SUSE-SU-2026:4149-1
openSUSELeap 16.0ffmpeg-77.1.5-160000.1.1openSUSE-SU-2026:21877-1
openSUSETumbleweedffmpeg-44.4.8-5.1openSUSE-SU-2026:11716-1
openSUSETumbleweedffmpeg-77.1.5-2.1openSUSE-SU-2026:11665-1
openSUSETumbleweedffmpeg-88.1.2-3.1openSUSE-SU-2026:11682-1
openSUSETumbleweedffmpeg-99.0.1-3.1openSUSE-SU-2026:11659-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

An uninitialized heap memory disclosure flaw exists in FFmpeg's native TIFF decoder within libavcodec/tiff.c. When decoding a crafted TIFF file containing an undersized Deflate-compressed strip, tiff_unpack_zlib() fails to verify actual decompressed output length before executing frame-buffer memcpy() operations. This incorporates uninitialized stale heap memory from prior allocations into the rendered image stream. When FFmpeg runs as a persistent service, remote or local users supplying malformed inputs can leak sensitive memory contents, posing a Moderate impact to confidentiality.

Red Hat's mitigation

Avoid processing untrusted TIFF files using FFmpeg in persistent or shared-process services. If processing untrusted media is required, isolate FFmpeg execution within an ephemeral container or tightly restricted systemd/SELinux sandbox to prevent cross-session memory disclosure.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AI (RHEL AI) 3ffmpegFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-rocm-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gcp-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-vllm-gaudi-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-70631.

References

Check your stackJSON