CVE-2026-125232 PUBLISHED

FFmpeg through 9.0.2 Division by Zero in B-frame Motion Estimation

Assigner: VulnCheck
Reserved: 09.11.2026 Published: 09.11.2026 Updated: 09.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.8

Product Status

Vendor FFmpeg
Product FFmpeg
Versions Default: unaffected
  • affected from 0 to 9.0.2 (incl.)

Credits

  • Gabe Sherman (Trail of Bits) finder
  • Joshua Rogers (AISLE Research) reporter
  • Michael Niedermayer remediation developer

References

Problem Types

  • Divide By Zero CWE