{"id":"CVE-2026-125170","kind":"vulnerability","aliases":["CVE-2026-125170"],"related":[],"title":"FFmpeg: truncated TGA images leak uninitialized heap memory into decoded frames","description":"FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability in targa_decode_rle() in libavcodec/targa.c caused by missing packet length checks. Attackers can supply truncated RLE-compressed TGA images so decoded frames contain leftover heap buffer data and replicated uninitialized stack bytes.","summary":"FFmpeg's Targa (TGA) decoder in libavcodec does not check packet length during RLE decoding, so a truncated image can make decoded frames contain leftover heap and stack data. An attacker who supplies a crafted TGA file can read memory contents that should not be exposed.","severity":"medium","cvss":4.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ffmpeg","libavcodec","media-processing","package"],"not_affected_if":["no-tga-input"],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-09T19:16:51+00:00","first_seen_at":"2026-11-09T19:28:16+00:00","triaged_at":"2026-11-09T19:32:24+00:00","updated_at":"2026-11-09T19:32:24+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-09T19:32:24Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"unknown","title":"FFmpeg: truncated TGA images leak uninitialized heap memory into decoded frames","impact":"low","summary":"FFmpeg's Targa (TGA) decoder in libavcodec does not check packet length during RLE decoding, so a truncated image can make decoded frames contain leftover heap and stack data. An attacker who supplies a crafted TGA file can read memory contents that should not be exposed.","audience":"developers","category":"package","nicknames":[],"who_cares":["ffmpeg","libavcodec","media-processing"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"attacker reads leftover heap and stack memory contents","analyst_note":"Check the linked patch on github.com and the VulnCheck advisory for the fixed FFmpeg version and whether the TGA path is reachable from untrusted input.","how_to_check":"unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-tga-input"],"who_is_affected":"unknown","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000667,"input_tokens":4613,"output_tokens":412,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-125170':14A,17A '-2026':13A,16A '9.0.2':72C 'attack':54B,91C 'buffer':106C 'byte':112C 'caus':85C 'check':33B,90C 'compress':97C 'contain':47B,73C,103C 'content':64B 'craft':58B 'cve':12A,15A 'data':52B,107C 'decod':10A,28B,38B,45B,81C,101C 'disclosur':77C 'expos':69B 'ffmpeg':1A,18B,24B,70C 'file':60B 'frame':11A,46B,102C 'heap':7A,49B,105C 'imag':4A,42B,99C 'leak':5A 'leftov':48B,104C 'length':35B,89C 'libavcodec':19B,30B 'libavcodec/targa.c':84C 'make':44B 'media':21B 'media-process':20B 'memori':8A,63B,76C 'miss':87C 'packag':23B 'packet':34B,88C 'process':22B 'read':62B 'replic':109C 'rle':37B,82C,96C 'rle-compress':95C 'stack':51B,111C 'suppli':56B,93C 'targa':26B,80C 'tga':3A,27B,59B,98C 'truncat':2A,41B,94C 'uniniti':6A,75C,110C 'vulner':78C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["ffmpeg","libavcodec","mediaprocessing","medium","package"],"campaign_type":null,"search_a":"'-125170':14A,17A '-2026':13A,16A 'cve':12A,15A 'decod':10A 'ffmpeg':1A 'frame':11A 'heap':7A 'imag':4A 'leak':5A 'memori':8A 'tga':3A 'truncat':2A 'uniniti':6A","search_b":"'attack':54B 'check':33B 'contain':47B 'content':64B 'craft':58B 'data':52B 'decod':28B,38B,45B 'expos':69B 'ffmpeg':18B,24B 'file':60B 'frame':46B 'heap':49B 'imag':42B 'leftov':48B 'length':35B 'libavcodec':19B,30B 'make':44B 'media':21B 'media-process':20B 'memori':63B 'packag':23B 'packet':34B 'process':22B 'read':62B 'rle':37B 'stack':51B 'suppli':56B 'targa':26B 'tga':27B,59B 'truncat':41B","search_c":"'9.0.2':72C 'attack':91C 'buffer':106C 'byte':112C 'caus':85C 'check':90C 'compress':97C 'contain':73C,103C 'data':107C 'decod':81C,101C 'disclosur':77C 'ffmpeg':70C 'frame':102C 'heap':105C 'imag':99C 'leftov':104C 'length':89C 'libavcodec/targa.c':84C 'memori':76C 'miss':87C 'packet':88C 'replic':109C 'rle':82C,96C 'rle-compress':95C 'stack':111C 'suppli':93C 'targa':80C 'tga':98C 'truncat':94C 'uniniti':75C,110C 'vulner':78C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-09T19:16:51+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/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-125170","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125170","severity":null,"published_at":"2026-11-09T19:16:51+00:00","modified_at":"2026-11-09T19:16:51+00:00","first_seen_at":"2026-11-09T19:28:16+00:00","fetched_at":"2026-11-09T19:28:16+00:00","note":null}],"documents":[{"id":109227,"url":"https://github.com/FFmpeg/FFmpeg/commit/f8f84348dfe1a80d38e7dbbcddcdd5d92a760dfd","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":109228,"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uninitialized-memory-disclosure-via-targa-decode-rle","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"}