JLSEC-2026-2151: FFmpeg through 9.0.2 contains a division by zero vulnerability in estimate_motion_b() in...
FFmpeg through 9.0.2 contains a division by zero vulnerability in estimatemotionb() in libavcodec/motionest.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which encoding workflows are exposed?
The issue affects MPEG-4 Part 2 and MPEG-1/2 encoding workflows that use B-frames. The affected component is FFmpeg's motion estimation code in libavcodec/motion_est.c.
What must an attacker provide to trigger the crash?
An attacker must be able to supply input whose frame timestamp gaps are multiples of 65536. Exploitation requires user interaction and results in a SIGFPE denial-of-service crash.
Are the Julia FFmpeg packages listed as affected?
Yes. The affected software entries are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll.
How can I determine whether a workload is affected?
Check whether it uses an FFmpeg version through 9.0.2 and performs MPEG-4 Part 2 or MPEG-1/2 B-frame encoding. Workloads that process untrusted input with timestamp gaps that are multiples of 65536 are the relevant exposure condition.