CVE-2026-125232
Received Received - Intake

Division by Zero in FFmpeg Video Encoding

Vulnerability report for CVE-2026-125232, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-09

Last updated on: 2026-11-09

Assigner: VulnCheck

Description

FFmpeg through 9.0.2 contains a division by zero vulnerability in estimate_motion_b() in libavcodec/motion_est.c, caused by frame timestamp distances truncated to 16 bits. Attackers can supply input with timestamp gaps that are multiples of 65536, crashing MPEG-4 Part 2 or MPEG-1/2 B-frame encoding with SIGFPE.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-09
Last Modified
2026-11-09
Generated
2026-11-09
AI Q&A
2026-11-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
FFmpeg FFmpeg From 0 (inc) to 9.0.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-369 The product divides a value by zero.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a division by zero flaw in FFmpeg through version 9.0.2. It occurs in the function estimate_motion_b() within libavcodec/motion_est.c. The issue arises when frame timestamp distances are truncated to 16 bits, allowing attackers to supply inputs with timestamp gaps that are multiples of 65536. This causes MPEG-4 Part 2 or MPEG-1/2 B-frame encoding to crash with a SIGFPE signal due to the division by zero.

Impact Analysis

This vulnerability can cause applications using FFmpeg to crash unexpectedly when processing specific video files. An attacker could exploit this to disrupt video encoding or decoding operations, leading to denial-of-service conditions. The impact is limited to systems running vulnerable FFmpeg versions and processing crafted input files.

Mitigation Strategies

Update FFmpeg to version 9.0.3 or later to address the division by zero vulnerability in estimate_motion_b(). Avoid processing media files with timestamp gaps that are multiples of 65536 to prevent crashes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125232. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...