{"id":"CVE-2026-125258","kind":"vulnerability","aliases":["CVE-2026-125258"],"related":[],"title":"FFmpeg: crafted video frame rate crashes the encoder with division by zero","description":"FFmpeg through 9.0.2 contains a division by zero vulnerability in dovi_configure_ext() in libavcodec/dovi_rpuenc.c that allows attackers to crash the process via an unvalidated frame rate denominator. Attackers can supply a crafted HEVC or AV1 input with a nonzero frame rate numerator and zero denominator to the dovi_rpu bitstream filter or libx265, libaom, or libsvtav1 encoders, causing denial of service.","summary":"FFmpeg through 9.0.2 divides by a frame rate denominator it never checks, so a crafted HEVC or AV1 input with a zero denominator crashes the process. An attacker gets denial of service, not code execution.","severity":"medium","cvss":5.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ffmpeg","package","self-hosted","video-processing"],"not_affected_if":["no-dovi-rpu-filter","trusted-input-only"],"how_to_check":"- Run `ffmpeg -version` and compare against the fixed release in the sources\n- Check whether jobs pass untrusted HEVC or AV1 input through the dovi_rpu filter or the libx265, libaom or libsvtav1 encoders","fix":null,"status":"open","published_at":"2026-11-09T20:18:12+00:00","first_seen_at":"2026-11-09T20:48:13+00:00","triaged_at":"2026-11-09T20:49:56+00:00","updated_at":"2026-11-09T20:49:56+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-09T20:49:56Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","title":"FFmpeg: crafted video frame rate crashes the encoder with division by zero","impact":"low","summary":"FFmpeg through 9.0.2 divides by a frame rate denominator it never checks, so a crafted HEVC or AV1 input with a zero denominator crashes the process. An attacker gets denial of service, not code execution.","audience":"businesses","category":"package","nicknames":[],"who_cares":["ffmpeg","video-processing","self-hosted"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"Encoding process crashes, causing denial of service","analyst_note":"Confirm the fixed FFmpeg version and the Patch link on github.com; the sources here do not name a fixed release.","how_to_check":"- Run `ffmpeg -version` and compare against the fixed release in the sources\n- Check whether jobs pass untrusted HEVC or AV1 input through the dovi_rpu filter or the libx265, libaom or libsvtav1 encoders","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["trusted-input-only","no-dovi-rpu-filter"],"who_is_affected":"Systems that run FFmpeg to encode or process video from untrusted sources, especially through the dovi_rpu bitstream filter or the libx265, libaom or libsvtav1 encoders. Services that only process trusted, internally produced video can skip it.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000738,"input_tokens":4670,"output_tokens":542,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-125258':15A,18A '-2026':14A,17A '9.0.2':29B,64C 'allow':78C 'attack':54B,79C,90C 'av1':44B,97C 'bitstream':112C 'caus':120C 'check':38B 'code':60B 'configur':73C 'contain':65C 'craft':2A,41B,94C 'crash':6A,50B,81C 'cve':13A,16A 'denial':56B,121C 'denomin':35B,49B,89C,107C 'divid':30B 'divis':10A,67C 'dovi':72C,110C 'encod':8A,119C 'execut':61B 'ext':74C 'ffmpeg':1A,19B,27B,62C 'filter':113C 'frame':4A,33B,87C,102C 'get':55B 'hevc':42B,95C 'host':23B 'input':45B,98C 'libaom':116C 'libavcodec/dovi_rpuenc.c':76C 'libsvtav1':118C 'libx265':115C 'never':37B 'nonzero':101C 'numer':104C 'packag':20B 'process':26B,52B,83C 'rate':5A,34B,88C,103C 'rpu':111C 'self':22B 'self-host':21B 'servic':58B,123C 'suppli':92C 'unvalid':86C 'via':84C 'video':3A,25B 'video-process':24B 'vulner':70C 'zero':12A,48B,69C,106C","nicknames":[],"mitigations":[],"who_affected":"Systems that run FFmpeg to encode or process video from untrusted sources, especially through the dovi_rpu bitstream filter or the libx265, libaom or libsvtav1 encoders. Services that only process trusted, internally produced video can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["ffmpeg","medium","package","selfhosted","videoprocessing"],"campaign_type":null,"search_a":"'-125258':15A,18A '-2026':14A,17A 'craft':2A 'crash':6A 'cve':13A,16A 'divis':10A 'encod':8A 'ffmpeg':1A 'frame':4A 'rate':5A 'video':3A 'zero':12A","search_b":"'9.0.2':29B 'attack':54B 'av1':44B 'check':38B 'code':60B 'craft':41B 'crash':50B 'denial':56B 'denomin':35B,49B 'divid':30B 'execut':61B 'ffmpeg':19B,27B 'frame':33B 'get':55B 'hevc':42B 'host':23B 'input':45B 'never':37B 'packag':20B 'process':26B,52B 'rate':34B 'self':22B 'self-host':21B 'servic':58B 'video':25B 'video-process':24B 'zero':48B","search_c":"'9.0.2':64C 'allow':78C 'attack':79C,90C 'av1':97C 'bitstream':112C 'caus':120C 'configur':73C 'contain':65C 'craft':94C 'crash':81C 'denial':121C 'denomin':89C,107C 'divis':67C 'dovi':72C,110C 'encod':119C 'ext':74C 'ffmpeg':62C 'filter':113C 'frame':87C,102C 'hevc':95C 'input':98C 'libaom':116C 'libavcodec/dovi_rpuenc.c':76C 'libsvtav1':118C 'libx265':115C 'nonzero':101C 'numer':104C 'process':83C 'rate':88C,103C 'rpu':111C 'servic':123C 'suppli':92C 'unvalid':86C 'via':84C 'vulner':70C 'zero':69C,106C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-09T20:18:12+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:H/AT:P/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-125258","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125258","severity":null,"published_at":"2026-11-09T20:18:12+00:00","modified_at":"2026-11-09T20:18:12+00:00","first_seen_at":"2026-11-09T20:48:13+00:00","fetched_at":"2026-11-09T20:48:13+00:00","note":null}],"documents":[{"id":109727,"url":"https://github.com/FFmpeg/FFmpeg/commit/ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":109728,"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-division-by-zero-via-dovi-configure-ext-in-dovi-rpuenc-c","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"}