CVE-2026-120246

FFmpeg 4.4 through 9.0.2 Uninitialized Memory Disclosure via CDXL HAM Decoder

Published Nov 1, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
FFmpeg 4.4 through 9.0.2 contains a use of uninitialized variable vulnerability in the CDXL decoder that leaks stack memory into decoded pixels via unfilled HAM palette entries. Attackers can craft a type-0 CDXL file whose HAM pixels select unfilled new_palette entries in cdxl_decode_ham8() or cdxl_decode_ham6(), exposing stack bytes and pointer fragments in the BGR24 output.

Analysis

AI-generated

Technical impact

FFmpeg versions 4.4 through 9.0.2 contain a use‑of‑uninitialized variable flaw in the CDXL decoder. The bug allows crafted type‑0 CDXL files to trigger unfilled HAM palette entries, resulting in stack memory being written into decoded pixels. An attacker who supplies such a file can read stack bytes and pointer fragments in the BGR24 output, exposing potentially sensitive data. The weakness is tied to improper handling of buffer initialization (CWE‑457) and improper use of uninitialized local variables (CWE‑908).

Affected Systems

All FFmpeg installations between 4.4 and 9.0.2 that include the CDXL decoder are vulnerable. Since the decoder is enabled by default in all standard builds, any system running a susceptible version and processing CDXL files is affected.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a maliciously crafted CDXL file that an attacker can embed in a larger payload or deliver as a media file. While the flaw does not grant arbitrary code execution, the leaked stack data could support further attacks such as credential extraction or aiding in exploitation of other vulnerabilities.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0.3 or later, which contains the upstream fix for the uninitialized variable bug.
  • If an upgrade is not possible, rebuild FFmpeg with the --disable-cdxl option to remove the CDXL decoder from the build and prevent the vulnerability from being exercised.
  • Alternatively, apply the patch from commit 47313ad3f9f33b892384b976fb7c09b3c85fd74e to the cdxl.c source and recompile FFmpeg to correct the uninitialized variable issue.

Generated by OpenCVE AI on November 1, 2026 at 13:21 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 4.4 through 9.0.2 contains a use of uninitialized variable vulnerability in the CDXL decoder that leaks stack memory into decoded pixels via unfilled HAM palette entries. Attackers can craft a type-0 CDXL file whose HAM pixels select unfilled new_palette entries in cdxl_decode_ham8() or cdxl_decode_ham6(), exposing stack bytes and pointer fragments in the BGR24 output.
Title FFmpeg 4.4 through 9.0.2 Uninitialized Memory Disclosure via CDXL HAM Decoder
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-457
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-457

    Use of Uninitialized Variable

  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 3:37 PM
Reserved
Oct 31, 2026, 10:05 PM
Status
Awaiting Analysis
Published
Nov 1, 2026, 1:17 AM
Modified
Nov 5, 2026, 4:17 PM
Severity
Moderate
Public date
Nov 1, 2026, 12:57 AM