---
id: CVE-2026-120245
title: >-
  FFmpeg 0.10 through 9.0.2 Uninitialized Memory Disclosure via Sun Raster
  Decoder
summary: >-
  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 Ras…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-908
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg >= 0.10 <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-02T14:39:53.499385Z'
published: '2026-11-01'
updated: '2026-11-02'
sourceUpdated: '2026-11-02T14:40:04.609Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120245'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24877'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/356a391bf57df2fb80fd61f2821c8c83d15ce180
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/66b6ca270b33fd74367d7d371f6de16ec664446e
  - url: >-
      https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/sunrast.c#L188-L194
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-0.10-through-9.0.2-uninitialized-memory-disclosure-via-sun-raster-decoder
    label: >-
      VulnCheck Advisory: FFmpeg 0.10 through 9.0.2 Uninitialized Memory
      Disclosure via Sun Raster Decoder
tags:
  - cve.org
epss: 0.00124
epssPercentile: 0.02129
ingestedAt: '2026-11-05T19:30:42.668Z'
---

## Overview

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.

## Affected

- `FFmpeg >= 0.10 <= 9.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
