---
id: CVE-2026-125230
title: FFmpeg through 9.0.2 Integer Overflow Division by Zero via pcm_rechunk Filter
summary: >-
  FFmpeg through 9.0.2 contains an integer overflow vulnerability in the
  pcm_rechunk bitstream filter that allows attackers to trigger division by zero
  via a crafted channel count. Attackers can supply a file declaring a huge
  channel count…
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-190
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T20:58:12.923718Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:06:54.505Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125230'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/11052ca4b01b021a135ec89ed7e86aa96dd3bf33
    label: Patch Commit
  - url: >-
      https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/bsf/pcm_rechunk.c#L49
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-integer-overflow-division-by-zero-via-pcm-rechunk-filter
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 Integer Overflow Division by Zero
      via pcm_rechunk Filter
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.585Z'
---

## Overview

FFmpeg through 9.0.2 contains an integer overflow vulnerability in the pcm_rechunk bitstream filter that allows attackers to trigger division by zero via a crafted channel count. Attackers can supply a file declaring a huge channel count that is remuxed into MXF, GXF or DAUD, overflowing sample_size and crashing the application.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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