{"id":"CVE-2026-125185","kind":"vulnerability","aliases":["CVE-2026-125185"],"related":[],"title":"FFmpeg: crafted HEVC or VVC file crashes decoder via division by zero","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.","summary":"FFmpeg through 9.0.2 divides by zero in ff_aom_parse_film_grain_sets() when an AFGS1 film grain scaling point repeats an x value, because the parser does not reject it. An attacker who supplies a crafted HEVC or VVC file with zero-increment scaling points in T.35 SEI messages crashes the decoder.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ffmpeg","media-processing","runtime","video-transcoding"],"not_affected_if":["trusted-input-only"],"how_to_check":"- Run `ffmpeg -version` and compare against the fixed version in the patch link; the sources give no fixed version.\n- Look for FFmpeg in services that decode untrusted HEVC or VVC video, such as upload pipelines or transcoders.","fix":null,"status":"open","published_at":"2026-11-09T19:16:54+00:00","first_seen_at":"2026-11-09T19:28:17+00:00","triaged_at":"2026-11-09T19:31:34+00:00","updated_at":"2026-11-09T19:31:34+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-11-09T19:31:34Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"unknown","title":"FFmpeg: crafted HEVC or VVC file crashes decoder via division by zero","impact":"low","summary":"FFmpeg through 9.0.2 divides by zero in ff_aom_parse_film_grain_sets() when an AFGS1 film grain scaling point repeats an x value, because the parser does not reject it. An attacker who supplies a crafted HEVC or VVC file with zero-increment scaling points in T.35 SEI messages crashes the decoder.","audience":"developers","category":"runtime","nicknames":[],"who_cares":["ffmpeg","media-processing","video-transcoding"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"decoder process crashes on a crafted video file","analyst_note":"Confirm the fixed FFmpeg version and whether the patch link at github.com covers this CVE; check the vulncheck advisory for affected ranges.","how_to_check":"- Run `ffmpeg -version` and compare against the fixed version in the patch link; the sources give no fixed version.\n- Look for FFmpeg in services that decode untrusted HEVC or VVC video, such as upload pipelines or transcoders.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["trusted-input-only"],"who_is_affected":"Systems that run FFmpeg's decoder on HEVC or VVC files from untrusted sources, such as media upload or transcoding services, are exposed to a crash. Setups that only play local, trusted files are lower risk. The sources do not say whether a fixed FFmpeg release exists.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000765,"input_tokens":4629,"output_tokens":605,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-125185':15A,18A '-2026':14A,17A '9.0.2':29B,83C 'afgs1':42B,101C 'aom':35B,92C 'attack':59B,108C 'caus':126C 'contain':84C 'craft':2A,63B,111C 'crash':7A,78B,134C 'cve':13A,16A 'decod':8A,80B,136C 'divid':30B,130C 'divis':10A,86C 'fail':98C 'ff':34B,91C 'ffmpeg':1A,19B,27B,81C 'file':6A,67B,115C 'film':37B,43B,94C 'generat':127C 'grain':38B,44B,95C 'hevc':3A,64B,112C 'increment':71B,119C 'media':21B 'media-process':20B 'messag':77B,125C 'pars':36B,93C 'parser':53B 'point':46B,73B,103C,121C 'process':22B 'reject':56B,100C 'repeat':47B,105C 'runtim':23B 'scale':45B,72B,102C,120C,128C 'sei':76B,124C 'set':39B,96C 'suppli':61B,110C 't.35':75B,123C 'transcod':26B 'valu':50B,107C 'via':9A 'video':25B 'video-transcod':24B 'vulner':89C 'vvc':5A,66B,114C 'x':49B,106C 'zero':12A,32B,70B,88C,118C,132C 'zero-incr':69B,117C","nicknames":[],"mitigations":[],"who_affected":"Systems that run FFmpeg's decoder on HEVC or VVC files from untrusted sources, such as media upload or transcoding services, are exposed to a crash. Setups that only play local, trusted files are lower risk. The sources do not say whether a fixed FFmpeg release exists.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["ffmpeg","mediaprocessing","medium","runtime","videotranscoding"],"campaign_type":null,"search_a":"'-125185':15A,18A '-2026':14A,17A 'craft':2A 'crash':7A 'cve':13A,16A 'decod':8A 'divis':10A 'ffmpeg':1A 'file':6A 'hevc':3A 'via':9A 'vvc':5A 'zero':12A","search_b":"'9.0.2':29B 'afgs1':42B 'aom':35B 'attack':59B 'craft':63B 'crash':78B 'decod':80B 'divid':30B 'ff':34B 'ffmpeg':19B,27B 'file':67B 'film':37B,43B 'grain':38B,44B 'hevc':64B 'increment':71B 'media':21B 'media-process':20B 'messag':77B 'pars':36B 'parser':53B 'point':46B,73B 'process':22B 'reject':56B 'repeat':47B 'runtim':23B 'scale':45B,72B 'sei':76B 'set':39B 'suppli':61B 't.35':75B 'transcod':26B 'valu':50B 'video':25B 'video-transcod':24B 'vvc':66B 'x':49B 'zero':32B,70B 'zero-incr':69B","search_c":"'9.0.2':83C 'afgs1':101C 'aom':92C 'attack':108C 'caus':126C 'contain':84C 'craft':111C 'crash':134C 'decod':136C 'divid':130C 'divis':86C 'fail':98C 'ff':91C 'ffmpeg':81C 'file':115C 'film':94C 'generat':127C 'grain':95C 'hevc':112C 'increment':119C 'messag':125C 'pars':93C 'point':103C,121C 'reject':100C 'repeat':105C 'scale':102C,120C,128C 'sei':124C 'set':96C 'suppli':110C 't.35':123C 'valu':107C 'vulner':89C 'vvc':114C 'x':106C 'zero':88C,118C,132C 'zero-incr':117C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-09T19:16:54+00:00","kev":null,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-125185","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125185","severity":null,"published_at":"2026-11-09T19:16:54+00:00","modified_at":"2026-11-09T19:16:54+00:00","first_seen_at":"2026-11-09T19:28:17+00:00","fetched_at":"2026-11-09T19:28:17+00:00","note":null}],"documents":[{"id":109260,"url":"https://github.com/FFmpeg/FFmpeg/commit/b8daf520dd03f6139aa053acb768f3c4594599d9","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":109261,"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-via-afgs1-film-grain-scaling-points","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}