CVE-2026-120245

FFmpeg 0.10 through 9.0.2 Uninitialized Memory Disclosure via Sun Raster Decoder

Published Nov 1, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
FFmpeg 0.10 through 9.0.2 contains an uninitialized memory disclosure vulnerability in sunrast_decode_frame() in libavcodec/sunrast.c that leaves decoded image regions unwritten for truncated input. Attackers can supply a crafted truncated Sun Raster image, RLE-encoded or raw, to leak stale heap contents such as allocator metadata through the decoded picture.

Analysis

AI-generated

Technical impact

FFmpeg 0.10 through 9.0.2 contain an uninitialised memory disclosure vulnerability in sunrast_decode_frame() in libavcodec/sunrast.c that leaves decoded image regions unwritten for truncated input. Attackers can supply a crafted truncated Sun Raster image, RLE‑encoded or raw, to leak stale heap contents such as allocator metadata through the decoded picture, potentially exposing sensitive confidentiality information. The flaw is a straightforward memory‑disclosure bug based on improper initialisation 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. The EPSS score of < 1% suggests a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog, indicating no widespread exploit activity yet. Nevertheless, the moderate CVSS and potential for confidential data leakage warrant timely remediation.

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 sanitising 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 uninitialised memory use.

Generated by OpenCVE AI on November 15, 2026 at 10:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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. FFmpeg 0.10 through 9.0.2 contains an uninitialized memory disclosure vulnerability in sunrast_decode_frame() in libavcodec/sunrast.c that leaves decoded image regions unwritten for truncated input. Attackers can supply a crafted truncated Sun Raster image, RLE-encoded or raw, to leak stale heap contents such as allocator metadata through the decoded picture.
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 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'}

Weaknesses
  • CWE-908

    Use of Uninitialized Resource

Sources

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