CVE-2026-120247

FFmpeg 2.3 through 9.0.2 Huffyuv Decoder Uninitialized Heap Memory Disclosure

Published Nov 1, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
FFmpeg 2.3 through 9.0.2 contains a use of uninitialized resource vulnerability in the Huffyuv decoder that allows attackers to leak heap memory into decoded pixels via short packed-BGR bitstreams. Attackers can craft a Huffyuv BGR24/BGRA video whose entropy data ends early, causing decode_slice() to add uninitialized s->temp[0] bytes into output frames, exposing heap contents.

Analysis

AI-generated

Technical impact

The vulnerability appears in the Huffyuv decoder of FFmpeg. When processing certain short packed-BGR bitstreams, the decoder fails to initialize a temporary buffer before writing to it, causing uninitialized heap bytes to be inserted into decoded pixel data. An attacker can therefore craft a Huffyuv video file that causes the output frames to contain portions of the heap, exposing arbitrary memory content. The flaw does not provide direct control over execution, but the resulting memory leakage can lead to privacy breaches if the decoded frames are displayed or stored.

Affected Systems

Affected products are FFmpeg versions 2.3 through 9.0.2. All builds that include the unpatched Huffyuv decoder are vulnerable. Systems that run these versions and process user-supplied Huffyuv video streams are at risk.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate to high risk. EPSS is not available, so the exploitation probability is uncertain but likely low. The issue is not listed in the CISA KEV catalog. Exploitation requires only a crafted video file and no privileged execution, enabling an attacker to trigger memory leakage by delivering a malicious Huffyuv file to any application that decodes it. The primary impact is information disclosure rather than denial of service or code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to a patched release such as 9.0.3 or later.
  • Disable or remove the Huffyuv decoder from the FFmpeg build if the application does not require it.
  • If an upgrade cannot be performed immediately, avoid processing Huffyuv files from untrusted sources or isolate the decoding process in a sandbox to contain any leaked data.

Generated by OpenCVE AI on November 1, 2026 at 02:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description FFmpeg 2.3 through 9.0.2 contains a use of uninitialized resource vulnerability in the Huffyuv decoder that allows attackers to leak heap memory into decoded pixels via short packed-BGR bitstreams. Attackers can craft a Huffyuv BGR24/BGRA video whose entropy data ends early, causing decode_slice() to add uninitialized s->temp[0] bytes into output frames, exposing heap contents.
Title FFmpeg 2.3 through 9.0.2 Huffyuv Decoder Uninitialized Heap Memory Disclosure
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-908
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
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
Nov 6, 2026, 6:56 PM
Reserved
Oct 31, 2026, 10:05 PM
Status
Awaiting Analysis
Published
Nov 1, 2026, 1:17 AM
Modified
Nov 6, 2026, 7:17 PM
Severity
Moderate
Public date
Nov 1, 2026, 12:57 AM