---
id: "CVE-2026-125097"
page: "https://infrastack.ai/live/CVE-2026-125097"
kind: "vulnerability"
aliases: ["CVE-2026-125097"]
title: "FFmpeg: crafted media files leak uninitialized heap memory through decoded frames"
severity: "medium"
cvss: 4.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ffmpeg", "media-processing", "package", "transcoding"]
not_affected_if: ["no-untrusted-media", "trusted-input-only"]
published_at: "2026-11-09T19:16:50+00:00"
first_seen_at: "2026-11-09T19:28:15+00:00"
updated_at: "2026-11-09T19:33:35+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125097", "first_seen_at": "2026-11-09T19:28:15+00:00"}]
exploit_sources: []
---

# FFmpeg: crafted media files leak uninitialized heap memory through decoded frames

Link for people: https://infrastack.ai/live/CVE-2026-125097 (this .md is for agents)

FFmpeg's raw video decoder does not check that packet stride covers a full row for 1 to 8 bits-per-pixel video. A crafted AVI, MOV or NUT file with truncated low bit depth packets can leak uninitialized heap memory into decoded frame output.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-11-09T19:28:15+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125097

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uninitialized-heap-memory-disclosure-via-rawdec-c-raw-video-decoder
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/01a395b935b9da12dbeca588a7130c4db6a14689

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
