CVE-2026-125232: FFmpeg · Divide By Zero
Affects FFmpegSource CVE Database V5
Not known to be exploited · CVSS 6.8 Medium.
Data as of 9 Nov 2026, 20:18 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.5 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FFmpegFFmpeg | Affected
| Fixed in– |
GitHubFFmpegpkg:github/FFmpegOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should check the FFmpeg vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted input streams that may contain crafted timestamp gaps triggering this vulnerability.
Description
CVE-2026-125232 is a division by zero vulnerability in FFmpeg versions up to 9.0.2. It occurs in the estimate_motion_b() function within libavcodec/motion_est.c due to frame timestamp distances truncated to 16 bits. Maliciously crafted input with timestamp gaps that are multiples of 65536 can cause the encoder to crash with a SIGFPE signal during MPEG-4 Part 2 or MPEG-1/2 B-frame encoding.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24552 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/commit/bf0a2e4680df92d8de6514090d350152eb7845b8 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/commit/16d19ccbce802634662a9bf18a5679cf27da2848 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/motion_est.c (opens in a new tab)
- github.com/FFmpeg/FFmpeg (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-in-b-frame-motion-estimation (opens in a new tab)