CVE-2026-125232 FFmpeg through 9.0.2 Division by Zero in B-frame Motion Estimation
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125232?
CVE-2026-125232 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official 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.
Weakness: CWE-369
Which versions are affected by CVE-2026-125232?
How do I fix CVE-2026-125232?
No fix has been published for CVE-2026-125232 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125232 being exploited?
There is no known exploitation of CVE-2026-125232 in the wild and no public exploit code.
Sources
Also known as GHSA-3242-hx2p-rmrh, UBUNTU-CVE-2026-125232.