Description
FFmpeg 0.10 through 9.0.2 contains a use of uninitialized resource vulnerability in sunrast_decode_frame() that leaks heap memory when decoding truncated 1-bit and 4-bit paletted Sun Raster images. Attackers can craft a truncated Sun Raster file so the uncleared temporary bitmap is expanded into PAL8 pixels, exposing stale heap contents such as allocator words in decoded output.
Published: 2026-11-01
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Patch
AI Analysis

Impact

FFmpeg versions 0.10 through 9.0.2 contain a use‑of‑uninitialized memory bug in the Sun Raster decoder that allows an attacker to craft a truncated 1‑bit or 4‑bit paletted image file. When the decoder expands the temporary bitmap into 8‑bit pixels, it leaks stale heap data such as allocator words into the output, exposing sensitive confidentiality information. The bug is a straightforward memory‑disclosure flaw based on improper initialization of a buffer.

Affected Systems

All FFmpeg distributions between 0.10 and 9.0.2, including all full releases, are impacted. Any application or service that incorporates a pre‑9.0.3 build of FFmpeg and processes Sun Raster files can be affected.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity. The vulnerability requires the attacker to supply a specially crafted Sun Raster file, so the attack vector is most likely exploitation of a decoder routine in a locally or remotely accessed image processing application; specific conditions (such as exposure to untrusted files) are necessary. EPSS is not available and the vulnerability is not listed in CISA’s KEV catalog, suggesting no widespread exploit activity yet. Nevertheless, the moderate CVSS and potential for confidential data leakage warrant timely remediation.

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 to FFmpeg 9.0.3 or later, where the Sun Raster decoder has been fixed to properly clear its temporary bitmap before expansion.
  • If an upgrade is not immediately possible, disable or remove Sun Raster support from the application’s FFmpeg build and treat any Sun Raster inputs as untrusted, rejecting or sanitizing them before decoding.
  • Apply the upstream patch referenced by commit 356a391bf57df2fb80fd61f2821c8c83d15ce180, which clears the temporary bitmap in sunrast_decode_frame before it is expanded, to eliminate the uninitialized memory use.

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 0.10 through 9.0.2 contains a use of uninitialized resource vulnerability in sunrast_decode_frame() that leaks heap memory when decoding truncated 1-bit and 4-bit paletted Sun Raster images. Attackers can craft a truncated Sun Raster file so the uncleared temporary bitmap is expanded into PAL8 pixels, exposing stale heap contents such as allocator words in decoded output.
Title FFmpeg 0.10 through 9.0.2 Uninitialized Memory Disclosure via Sun Raster Decoder
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:10.732Z

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

Link: CVE-2026-120245

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-120245

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-908

    Use of Uninitialized Resource