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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125232",
"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://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://api.github.com/advisories/GHSA-3242-hx2p-rmrh"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120182",
"id": "EUVD-2026-120182",
"imported": "2026-12-02T20:13:54.936Z",
"modified": "2026-11-09T21:06:54Z",
"published": "2026-11-09T19:11:43Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120182"
}
]
}