{"id":"CVE-2026-125064","kind":"vulnerability","aliases":["CVE-2026-125064"],"related":[],"title":"FFmpeg: crafted AVI file crashes the decoder via NULL pointer dereference","description":"FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in g726_decode_frame() in libavcodec/g726.c because it ignores init_get_bits() failure on oversized packets. Attackers can supply a crafted AVI file with a 268435392-byte G.726 audio chunk to make the decoder read from a NULL buffer, crashing the process.","summary":"FFmpeg's G.726 audio decoder in libavcodec ignores a failed buffer setup when given an oversized packet. A crafted AVI file with a very large G.726 audio chunk makes the process read from a NULL buffer and crash.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ffmpeg","libavcodec","media-processing","package"],"not_affected_if":["g726-not-decoded","no-untrusted-media"],"how_to_check":"- Run `ffmpeg -version` and compare against the fixed release in the sources, which the sources do not state: unknown\n- Check whether your application decodes untrusted AVI files with G.726 audio through libavcodec","fix":"- FFmpeg: unknown; a patch is linked from the sources (github.com), but the fixed version is not stated","status":"open","published_at":"2026-11-09T19:16:48+00:00","first_seen_at":"2026-11-09T19:28:15+00:00","triaged_at":"2026-11-09T19:31:49+00:00","updated_at":"2026-11-09T19:31:49+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-09T19:31:49Z","model":"claude-haiku-5-5","output":{"fix":"- FFmpeg: unknown; a patch is linked from the sources (github.com), but the fixed version is not stated","reach":"unknown","title":"FFmpeg: crafted AVI file crashes the decoder via NULL pointer dereference","impact":"low","summary":"FFmpeg's G.726 audio decoder in libavcodec ignores a failed buffer setup when given an oversized packet. A crafted AVI file with a very large G.726 audio chunk makes the process read from a NULL buffer and crash.","audience":"developers","category":"package","nicknames":[],"who_cares":["ffmpeg","libavcodec","media-processing"],"confidence":0.6,"fix_status":"available","needs_auth":"no","worst_case":"Attacker crashes the decoding process with a crafted AVI file","analyst_note":"Confirm the fixed FFmpeg version from the linked patch on github.com and the NVD entry; the sources here do not name it.","how_to_check":"- Run `ffmpeg -version` and compare against the fixed release in the sources, which the sources do not state: unknown\n- Check whether your application decodes untrusted AVI files with G.726 audio through libavcodec","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-untrusted-media","g726-not-decoded"],"who_is_affected":"Applications that pass untrusted AVI files with G.726 audio to FFmpeg's libavcodec decoder are exposed to a crash. Services that only process trusted media, or that do not decode G.726 audio, can skip it. The sources do not describe code execution, only a process crash.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000759,"input_tokens":4631,"output_tokens":591,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-125064':14A,17A '-2026':13A,16A '268435392':96C '9.0.2':64C 'attack':87C 'audio':27B,50B,99C 'avi':3A,43B,92C 'bit':82C 'buffer':34B,59B,109C 'byte':97C 'chunk':51B,100C 'contain':65C 'craft':2A,42B,91C 'crash':5A,61B,110C 'cve':12A,15A 'decod':7A,28B,73C,104C 'derefer':11A,69C 'fail':33B 'failur':83C 'ffmpeg':1A,18B,24B,62C 'file':4A,44B,93C 'frame':74C 'g.726':26B,49B,98C 'g726':72C 'get':81C 'given':37B 'ignor':31B,79C 'init':80C 'larg':48B 'libavcodec':19B,30B 'libavcodec/g726.c':76C 'make':52B,102C 'media':21B 'media-process':20B 'null':9A,58B,67C,108C 'overs':39B,85C 'packag':23B 'packet':40B,86C 'pointer':10A,68C 'process':22B,54B,112C 'read':55B,105C 'setup':35B 'suppli':89C 'via':8A 'vulner':70C","nicknames":[],"mitigations":[],"who_affected":"Applications that pass untrusted AVI files with G.726 audio to FFmpeg's libavcodec decoder are exposed to a crash. Services that only process trusted media, or that do not decode G.726 audio, can skip it. The sources do not describe code execution, only a process crash.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["ffmpeg","libavcodec","mediaprocessing","medium","package"],"campaign_type":null,"search_a":"'-125064':14A,17A '-2026':13A,16A 'avi':3A 'craft':2A 'crash':5A 'cve':12A,15A 'decod':7A 'derefer':11A 'ffmpeg':1A 'file':4A 'null':9A 'pointer':10A 'via':8A","search_b":"'audio':27B,50B 'avi':43B 'buffer':34B,59B 'chunk':51B 'craft':42B 'crash':61B 'decod':28B 'fail':33B 'ffmpeg':18B,24B 'file':44B 'g.726':26B,49B 'given':37B 'ignor':31B 'larg':48B 'libavcodec':19B,30B 'make':52B 'media':21B 'media-process':20B 'null':58B 'overs':39B 'packag':23B 'packet':40B 'process':22B,54B 'read':55B 'setup':35B","search_c":"'268435392':96C '9.0.2':64C 'attack':87C 'audio':99C 'avi':92C 'bit':82C 'buffer':109C 'byte':97C 'chunk':100C 'contain':65C 'craft':91C 'crash':110C 'decod':73C,104C 'derefer':69C 'failur':83C 'ffmpeg':62C 'file':93C 'frame':74C 'g.726':98C 'g726':72C 'get':81C 'ignor':79C 'init':80C 'libavcodec/g726.c':76C 'make':102C 'null':67C,108C 'overs':85C 'packet':86C 'pointer':68C 'process':112C 'read':105C 'suppli':89C 'vulner':70C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-09T19:16:48+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-125064","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125064","severity":null,"published_at":"2026-11-09T19:16:48+00:00","modified_at":"2026-11-09T19:16:48+00:00","first_seen_at":"2026-11-09T19:28:15+00:00","fetched_at":"2026-11-09T19:28:15+00:00","note":null}],"documents":[{"id":109187,"url":"https://github.com/FFmpeg/FFmpeg/commit/ec887b13a88afbaf44fb28c3045bda5d434da8dc","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":109188,"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-g-726-adpcm-decoder","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"}