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

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 directly tied to improper handling of buffer initialization (CWE‑457).

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.

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

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 02:23 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 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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-120246

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-120246

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-457

    Use of Uninitialized Variable