---
id: CVE-2026-125194
title: FFmpeg through 9.0.2 Out-of-Bounds Read via PCM DVD Encoder
summary: >-
  FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in
  pcm_dvd_encode_frame() in libavcodec/pcm-dvdenc.c when a 24-bit final frame
  holds fewer samples than one block. Attackers can supply 24-bit 48 or 96 kHz
  audio whose len…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T21:01:40.293131Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:06:56.912Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125194'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25694'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/cfe6a6cd7de59341a70ebe6a2d477f3281aec834
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcm-dvdenc.c#L120'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-read-via-pcm-dvd-encoder
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 Out-of-Bounds Read via PCM DVD
      Encoder
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.604Z'
---

## Overview

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in pcm_dvd_encode_frame() in libavcodec/pcm-dvdenc.c when a 24-bit final frame holds fewer samples than one block. Attackers can supply 24-bit 48 or 96 kHz audio whose length leaves a short final frame, causing the loop counter to wrap and crash the transcoding process.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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