CVE-2026-125185
published medium CVSS 4.0 · 6.8FFmpeg through 9.0.2 Division by Zero via AFGS1 Film Grain Scaling Points
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 ff_aom_parse_film_grain_sets() that fails to reject AFGS1 scaling points with repeated x values. Attackers can supply crafted HEVC or VVC files with zero-increment scaling points in T.35 SEI messages, causing generate_scaling() to divide by zero and crash the decoder.
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
5- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25572
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/aom_film_grain_template.c#L457
- Patch Commit https://github.com/FFmpeg/FFmpeg/commit/b8daf520dd03f6139aa053acb768f3c4594599d9
- VulnCheck Advisory: FFmpeg through 9.0.2 Division by Zero via AFGS1 Film Grain Scaling Points https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-via-afgs1-film-grain-scaling-points
Provider assertions
2VulnCheck · cna
FFmpeg through 9.0.2 Division by Zero via AFGS1 Film Grain Scaling Points
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- daeb6b24f1873d8b31e086fe99c658bdea7de0391f35c458bde51b27b4be6dba
- Ingested
- 09 Nov 2026, 21:16:38 UTC
- Source record
- Official CVE record