---
id: CVE-2026-125097
title: >-
  FFmpeg through 9.0.2 Uninitialized Heap Memory Disclosure via rawdec.c Raw
  Video Decoder
summary: >-
  FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability
  in raw_decode() in libavcodec/rawdec.c that fails to verify packet stride
  covers a full row for 1 to 8 bits per pixel video. Attackers can supply
  crafted AVI,…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-908
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T19:10:53.582Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125097'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25715'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/01a395b935b9da12dbeca588a7130c4db6a14689
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/rawdec.c#L208'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uninitialized-heap-memory-disclosure-via-rawdec-c-raw-video-decoder
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 Uninitialized Heap Memory
      Disclosure via rawdec.c Raw Video Decoder
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.628Z'
---

## Overview

FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability in raw_decode() in libavcodec/rawdec.c that fails to verify packet stride covers a full row for 1 to 8 bits per pixel video. Attackers can supply crafted AVI, MOV or NUT files with truncated low bit depth rawvideo packets to leak uninitialized heap memory through decoded frame output.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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