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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-369"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125232.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "9.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "9.0.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "16d19ccbce802634662a9bf18a5679cf27da2848"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bf0a2e4680df92d8de6514090d350152eb7845b8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}