---
id: CVE-2026-120247
title: FFmpeg 2.3 through 9.0.2 Huffyuv Decoder Uninitialized Heap Memory Disclosure
summary: >-
  FFmpeg 2.3 through 9.0.2 contains a use of uninitialized resource
  vulnerability in the Huffyuv decoder that allows attackers to leak heap memory
  into decoded pixels via short packed-BGR bitstreams. Attackers can craft a
  Huffyuv BGR24/BGR…
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 >= 2.3 <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-06T18:55:40.837645Z'
published: '2026-11-01'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T18:56:15.087Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120247'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24869'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/7c73707355708c846f718cca90096bc1a33c8989
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/huffyuvdec.c#L802'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-2.3-through-9.0.2-huffyuv-decoder-uninitialized-heap-memory-disclosure
    label: >-
      VulnCheck Advisory: FFmpeg 2.3 through 9.0.2 Huffyuv Decoder Uninitialized
      Heap Memory Disclosure
tags:
  - cve.org
epss: 0.00124
epssPercentile: 0.02129
ingestedAt: '2026-11-05T18:28:50.669Z'
---

## Overview

FFmpeg 2.3 through 9.0.2 contains a use of uninitialized resource vulnerability in the Huffyuv decoder that allows attackers to leak heap memory into decoded pixels via short packed-BGR bitstreams. Attackers can craft a Huffyuv BGR24/BGRA video whose entropy data ends early, causing decode_slice() to add uninitialized s->temp[0] bytes into output frames, exposing heap contents.

## Affected

- `FFmpeg >= 2.3 <= 9.0.2`

## Remediation

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