CVE-2026-70629

FFmpeg 3.0 < 9.0 Uninitialized Heap Memory Read in RSCC Decoder

Published Aug 6, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
FFmpeg versions from 3.0 up to, but not including, 9.0 contain an uninitialized heap memory read vulnerability in the native RSCC decoder (libavcodec/rscc.c) that allows attackers to disclose heap memory contents by supplying a crafted video file with a compressed tile that decompresses fewer bytes than the declared tile geometry requires. When rscc_decode_frame() calls av_image_copy_plane() without validating the decompressed byte count against the tile dimensions, the unwritten suffix of the persistent intermediate buffer ctx->inflated_buf is copied into the decoded frame, potentially exposing data from prior heap allocations or previous decoded frames in persistent decoding services.

Analysis

AI-generated

Technical impact

FFmpeg 3.0 through 8.x contain a flaw in the native RSCC decoder that reads uninitialized heap memory during frame decoding. When a crafted video file contains compressed tiles that decompress fewer bytes than claimed by their geometry, the decoder copies the unwritten suffix of an intermediate buffer into the output frame. The result is that data from previous heap allocations or earlier decoded frames can be exposed, potentially leaking sensitive information. The weakness is classified as CWE-908.

Affected Systems

All FFmpeg installations using the native RSCC decoder between version 3.0 and before 9.0 are vulnerable. The specific product affected is the FFmpeg multimedia framework. Versions 3.0, 3.1, …, 8.99 are all susceptible; upgrading to 9.0 or later removes the susceptible decoder implementation.

Risk and Exploitability

The CVSS score of 6.8 indicates a medium to high risk level, primarily due to the potential exposure of information without reliable integrity or availability impacts. EPSS data is not available, so the likelihood of exploitation cannot be quantified from public data. The vulnerability can be exploited by anyone able to supply a crafted video file to a service that uses the vulnerable FFmpeg decoder, such as media players, streaming servers, or any application that accepts arbitrary video input. It is not a remote code execution flaw, but the disclosed data could be leveraged in further attacks if it contains cryptographic keys, credentials, or other sensitive data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0 or later, which removes the vulnerable RSCC decoder.
  • If an upgrade is not immediately possible, isolate FFmpeg processes from untrusted input sources or run them in a sandbox to limit the impact of a potential data leak.
  • Disable or remove the native RSCC decoder from the build configuration if that decoding path is not required for the application’s functionality.

Generated by OpenCVE AI on August 7, 2026 at 00:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8750-1 FFmpeg vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Type Values Removed Values Added
References
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
Type Values Removed Values Added
Description FFmpeg versions from 3.0 up to, but not including, 9.0 contain an uninitialized heap memory read vulnerability in the native RSCC decoder (libavcodec/rscc.c) that allows attackers to disclose heap memory contents by supplying a crafted video file with a compressed tile that decompresses fewer bytes than the declared tile geometry requires. When rscc_decode_frame() calls av_image_copy_plane() without validating the decompressed byte count against the tile dimensions, the unwritten suffix of the persistent intermediate buffer ctx->inflated_buf is copied into the decoded frame, potentially exposing data from prior heap allocations or previous decoded frames in persistent decoding services.
Title FFmpeg 3.0 < 9.0 Uninitialized Heap Memory Read in RSCC 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'}

Weaknesses
  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:51 PM
Reserved
Aug 4, 2026, 8:17 PM
Status
Analyzed
Published
Aug 6, 2026, 10:18 PM
Modified
Sep 1, 2026, 3:36 PM
Severity
Moderate
Public date
Aug 6, 2026, 9:25 PM