CVE-2026-125232
published medium CVSS 4.0 · 6.8FFmpeg through 9.0.2 Division by Zero in B-frame Motion Estimation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FFmpeg | — | FFmpeg0 through 9.0.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FFmpeg | FFmpeg | 0 through 9.0.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-369 Divide By Zero
References
6- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24552
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/motion_est.c#L1153
- Patch Commit https://github.com/FFmpeg/FFmpeg/commit/16d19ccbce802634662a9bf18a5679cf27da2848
- Patch Commit https://github.com/FFmpeg/FFmpeg/commit/bf0a2e4680df92d8de6514090d350152eb7845b8
- VulnCheck Advisory: FFmpeg through 9.0.2 Division by Zero in B-frame Motion Estimation https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-in-b-frame-motion-estimation
Provider assertions
2VulnCheck · cna
FFmpeg through 9.0.2 Division by Zero in B-frame Motion Estimation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 674bf541e24aff851ccc24357720c31a35d1e950ea184cf88fd82ee6827c1b61
- Ingested
- 09 Nov 2026, 21:16:38 UTC
- Source record
- Official CVE record