CVE-2026-125185 FFmpeg through 9.0.2 Division by Zero via AFGS1 Film Grain Scaling Points
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125185?
CVE-2026-125185 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official 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.
Weakness: CWE-369
Which versions are affected by CVE-2026-125185?
How do I fix CVE-2026-125185?
No fix has been published for CVE-2026-125185 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125185 being exploited?
There is no known exploitation of CVE-2026-125185 in the wild and no public exploit code.
Sources
Also known as GHSA-pgwj-4q23-4rrr, UBUNTU-CVE-2026-125185.