Vulnerability in Ffmpeg
CVE-2026-125232
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.
Published .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24552 (issue-tracking)
- github.com/FFmpeg/FFmpeg (product)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/motion_est.c (technical-description)
- Patch Commit (patch)
- Patch Commit (patch)
- VulnCheck Advisory: FFmpeg through 9.0.2 Division by Zero in B-frame Motion Estimation (third-party-advisory)
Frequently asked questions
- What is CVE-2026-125232?
- CVE-2026-125232 is a medium-severity vulnerability in Ffmpeg, classified under Divide By Zero. CVSS score: 5.5/10. Published 2026-11-09.
- How severe is CVE-2026-125232?
- Medium severity. CVSS v3 base score is 5.5 out of 10.