{"id":"JLSEC-2026-2151","summary":"FFmpeg through 9.0.2 contains a division by zero vulnerability in estimate_motion_b() in...","details":"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.","modified":"2026-12-02T21:28:27.839442938Z","published":"2026-12-02T21:05:33.549Z","upstream":["CVE-2026-125232","EUVD-2026-120182","GHSA-3242-hx2p-rmrh"],"database_specific":{"sources":[{"affected":{"ffmpeg:ffmpeg":["\u003c= 9.0.2"]},"id":"CVE-2026-125232","imported":"2026-12-02T20:13:53.441Z","modified":"2026-11-30T16:19:22.363Z","published":"2026-11-09T19:17:01.143Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125232","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125232","database_specific":{"status":"Analyzed"}},{"url":"https://api.github.com/advisories/GHSA-3242-hx2p-rmrh","html_url":"https://github.com/advisories/GHSA-3242-hx2p-rmrh","id":"GHSA-3242-hx2p-rmrh","imported":"2026-12-02T20:14:25.510Z","modified":"2026-11-09T21:32:06Z","published":"2026-11-09T21:32:00Z"},{"url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120182","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120182","affected":{"FFMPEG:FFmpeg":["0 ≤9.0.2"]},"id":"EUVD-2026-120182","imported":"2026-12-02T20:13:54.936Z","modified":"2026-11-09T21:06:54Z","published":"2026-11-09T19:11:43Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24552"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/motion_est.c#L1153"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/commit/16d19ccbce802634662a9bf18a5679cf27da2848"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/commit/bf0a2e4680df92d8de6514090d350152eb7845b8"},{"type":"WEB","url":"https://github.com/advisories/GHSA-3242-hx2p-rmrh"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125232"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-in-b-frame-motion-estimation"}],"affected":[{"package":{"name":"FFMPEG_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_jll?uuid=b22a6f82-2f65-5046-a5b2-351ab43fb4e5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2151.json"}},{"package":{"name":"FFMPEG_nogpl_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_nogpl_jll?uuid=a6892c6b-5768-548c-b024-ff8dabf482c5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2151.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}