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.
Published: 2026-11-01
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Apply Patches
AI Analysis

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.

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

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 yet.

History

Sun, 01 Nov 2026 01:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-01T00:57:12.137Z

Reserved: 2026-10-31T22:05:58.945Z

Link: CVE-2026-120247

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-01T01:17:18.323

Modified: 2026-11-01T01:17:18.323

Link: CVE-2026-120247

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-01T02:45:10Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource