Skip to main content

FFmpeg CVE-2026-125230

| EUVDEUVD-2026-120180 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-11-09 disclosure@vulncheck.com GHSA-rmr8-ppr9-8rp8
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft file with huge channel count
  2. Exploit
    Remux to MXF/GXF/DAUD triggers integer overflow
  3. Impact
    Division by zero crashes FFmpeg

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to process an attacker-supplied input file that declares a very large audio channel count and to remux it into one of the specific output containers that route audio through the pcm_rechunk bitstream filter - MXF, GXF, or DAUD. The overflow occurs in the filter's init() when nb_channels * bits_per_sample overflows INT_MAX, zeroing sample_size and causing a later division by zero. Limiting factors: the CVSS vector is local (AV:L) with passive user interaction (UI:P), so the victim must actually open or transcode the malicious file; the vulnerable path is reached only for those three output formats, not arbitrary remuxing; and the only impact is a process crash (VA:H, VC:N/VI:N) with no code execution or data exposure.

Impact

This is a denial-of-service integer overflow (CWE-190) in FFmpeg's pcm_rechunk bitstream filter. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) tells a consistent story: impact is availability-only (VA:H, no confidentiality or integrity), triggered locally by processing an attacker-supplied file with passive user interaction, no privileges or authentication needed. The base score of 6.8 (medium) reflects a crash, not code execution. No EPSS score and no KEV listing were provided, and no public exploit was identified - only the vendor advisory, the vulnerable source line, and the fix commit are referenced. The vuln.today priority of 'this_month' aligns with a real-but-non-urgent DoS: patch on a normal cycle rather than treat as an emergency. The practical ceiling on risk is that the outcome is a crash of the FFmpeg process, and exploitation is gated on the target actually remuxing attacker-controlled input into MXF, GXF, or DAUD. Note one nuance to verify: the VA:H/division-by-zero outcome is a reliable abort, but the sources do not quantify any resource-exhaustion or restart-loop amplification beyond a single crash.

Exploit ScenarioDerived

An attacker crafts a media file declaring an enormous channel count and gets it processed by a service or user that remuxes audio into MXF, GXF, or DAUD output using FFmpeg. During initialization of the pcm_rechunk filter, the channel count overflows the sample_size computation, producing a zero divisor and a division-by-zero that aborts the process. No public exploit code was identified at time of analysis, though the fix commit publicly pinpoints the exact vulnerable computation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Denial of service in FFmpeg through 9.0.2 can crash the process when a crafted audio file declares an excessive channel count and is remuxed to MXF, GXF, or DAUD. The pcm_rechunk bitstream filter multiplies nb_channels by bits_per_sample, overflows the signed integer, produces a zero sample_size, and later divides by zero, aborting the application. The CVSS 4.0 vector is local (AV:L) with PR:N and passive user interaction (UI:P); impact is availability only (VA:H), with no code execution or data exposure. No public exploit code has been identified at time of analysis, and the vuln.today decision label is this_month.

RemediationAI

Apply the upstream fix commit 11052ca4b01b021a135ec89ed7e86aa96dd3bf33 (PR 25569), which adds the missing nb_channels > INT_MAX / bits_per_sample check before sample_size is calculated; no tagged patched release is independently confirmed in the provided data, so verify that the commit is present in the FFmpeg build you deploy. Until a patched build is confirmed, avoid remuxing untrusted audio into MXF, GXF, or DAUD, or pre-screen and reject files that declare implausible channel counts; this is a format and workflow restriction that trades functionality for reduced exposure. The VulnCheck advisory is https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-integer-overflow-division-by-zero-via-pcm-rechunk-filter.

Affected VersionsENISA

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CVE-2026-125230 is a CWE-190 integer overflow in libavcodec/bsf/pcm_rechunk.c. The pcm_rechunk bitstream filter handles PCM audio rechunking; in its init() function it computes sample_size as ch_layout.nb_channels multiplied by av_get_bits_per_sample(codec_id) and divided by 8. A crafted input file that declares a very large channel count can make the multiplication exceed INT_MAX, wrapping the signed integer and yielding a zero sample_size. A later division by that zero value triggers a division-by-zero crash. The vulnerable path is reached only when the crafted input is remuxed into MXF, GXF, or DAUD, which route audio through this filter; arbitrary remuxing is not sufficient. The referenced source line is https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/bsf/pcm_rechunk.c#L49, and the upstream diff adds a guard rejecting nb_channels > INT_MAX / bits_per_sample before the multiplication. The EUVD affected range is FFmpeg 0 through 9.0.2.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local because a crafted file must be processed (AV:L) with the victim initiating remuxing (UI:R); no auth needed (PR:N); availability-only crash, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg is the de facto media processing library across countless platforms and services
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy