PatchSiren cyber security CVE debrief
CVE-2026-125185 FFmpeg CVE debrief
A division by zero vulnerability exists in FFmpeg through version 9.0.2 in the ff_aom_parse_film_grain_sets() function. This vulnerability occurs because the function fails to reject AFGS1 scaling points with repeated x values. An attacker can exploit this by supplying crafted HEVC or VVC files with zero-increment scaling points in T.35 SEI messages, which causes the generate_scaling() function to divide by zero and crash the decoder.
- Vendor
- FFmpeg
- Product
- Unknown
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-09
- Original CVE updated
- 2026-11-10
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-10
Who should care
Users and administrators of FFmpeg, particularly those who process HEVC or VVC files, should be aware of this vulnerability and take steps to update to a fixed version. Affected operators should prioritize updating FFmpeg and monitoring input files for potential threats. Vulnerability management and security teams should review the vulnerability's scope and impact within their environments.
Why it matters
This vulnerability could allow an attacker to cause a denial of service by crashing the decoder with a specially crafted file. Users and administrators of FFmpeg should prioritize updating to a fixed version and monitoring input files for potential threats.
- Potential denial of service due to decoder crash
- Need for verification of input file validity
- Potential for crafted file detection and handling
Technical summary
The ff_aom_parse_film_grain_sets() function in FFmpeg through 9.0.2 does not properly handle AFGS1 scaling points with repeated x values, leading to a division by zero error when processing crafted HEVC or VVC files. This occurs because the function fails to reject AFGS1 scaling points with repeated x values. An attacker can exploit this by supplying crafted HEVC or VVC files with zero-increment scaling points in T.35 SEI messages, which causes the generate_scaling() function to divide by zero and crash the decoder.
Defensive priority
Medium priority should be given to updating FFmpeg to a version that fixes this vulnerability, as it could potentially be used to cause a denial of service.
Recommended defensive actions
- Update FFmpeg to a version that fixes this vulnerability
- Review and monitor HEVC or VVC file inputs for potential crafted files
- Implement additional security measures to prevent denial of service attacks
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability was reported via the GitHub Advisory Database and is tracked as GHSA-pgwj-4q23-4rrr. The CVE record and NVD entry provide additional details about the vulnerability. Evidence is limited to public sources and may not be comprehensive. Defenders should verify the vulnerability's existence and scope within their environments.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-125185 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-125185
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-125185 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125185
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
FFmpeg through 9.0.2 contains a division by zero vulnerability in ff_aom_parse_film_grain_sets()
Unverified legacy reference
URL: https://github.com/advisories/GHSA-pgwj-4q23-4rrr
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/commit/b8daf520dd03f6139aa053acb768f3c4594599d9
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25572
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/aom_film_grain_template.c
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-via-afgs1-film-grain-scaling-points
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.