{"id":"CVE-2026-125241","summary":"FFmpeg through 9.0.2 Heap Buffer Overflow via FLIC Decoder check_pixel_ptr","details":"FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/flicvideo.c that allows attackers to write out of bounds because check_pixel_ptr() checks only one bound with negative-stride frames. Attackers can supply a crafted FLIC file whose RLE and delta chunks write pixel data past frame storage, corrupting heap memory to crash applications or possibly execute code.","modified":"2026-11-15T07:04:18.504370645Z","published":"2026-11-09T19:11:50.066Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125241.json"},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125241.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125241"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-flic-decoder-check-pixel-ptr"},{"type":"REPORT","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25702"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/27f612b306eb04f81138173f705df9a9b055b01d"},{"type":"PACKAGE","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"ARTICLE","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/flicvideo.c#L63"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"fixed":"27f612b306eb04f81138173f705df9a9b055b01d"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"9.0.2"}]},{"range":[{"fixed":"27f612b306eb04f81138173f705df9a9b055b01d"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["n9.1-dev","n8.2-dev","n8.1-dev","n7.2-dev","n7.1-dev","n6.2-dev","n6.1-dev","n5.2-dev","n5.1-dev","n4.5-dev","n4.4-dev","n4.3-dev","n4.2-dev","n4.1-dev","n3.5-dev","n3.4-dev","n3.3-dev","n3.2-dev","n3.1-dev","n2.9-dev","n2.8-dev","n2.7-dev","n2.6-dev","n2.5-dev","n2.4-dev","n2.3-dev","n2.2-dev","n2.0","n2.1-dev","n1.3-dev","n1.2-dev","n1.1-dev","n0.12-dev","n0.11-dev","n0.8","N"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125241.json","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f612b306eb04f81138173f705df9a9b055b01d","target":{"file":"libavcodec/flicvideo.c","function":"flic_decode_frame_1BPP"},"deprecated":false,"digest":{"length":3730,"function_hash":"98756386834120326013800719226918648146"},"id":"CVE-2026-125241-0efeaa52"},{"signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f612b306eb04f81138173f705df9a9b055b01d","target":{"file":"libavcodec/flicvideo.c"},"deprecated":false,"digest":{"line_hashes":["104704080592335091287440574189235414419","330632504096594720682483264816287212205","232783271088244456626306062951930149511","217168655665866134033160025595923723147","234417820506830477939353203739856064289","280044397536648175236426962304568301764","323475703817880455756824686244920671921","4483061017918468940568950093478170740","183965487315656488503890122789573578083","174072028385359768140744455850918480296","162028038193220488473664049740630987389","320070563690893706343308545629516116239","141968302833258884708746156039084342270","17307844239341363413640133987221906470","159229274087143897037984680012312503850","61171201812407424183904297112489453128","44335726837399457877969251951060534688","256312641255517011031551525247887072129","272533077021366023185918417601302021080","61038680419283333749009162921583930102","226527341042106617328429623639750229196","335763259017894481801015130381714620563","279208446941273012664372115606477508042","194902314391118733398842559454820979074","65605441879822364014354739357439373026","118541425526008252435066230395475409727","29796428835661370424634177525723676779","71208079226228571284899369552623497422","92991996526894120423453523097810681756","11691066418995635475663860309661577737","40319561672894999434589735710626184811","12044905077909625313218068806426436559","306030269800550269458233757819785142057","161074392060688295317628555538290107033","226527341042106617328429623639750229196","1321715729630984511104892711033672758","335148078273165469620335411855255361499","197895353846620430525874819517812239439","65605441879822364014354739357439373026","118541425526008252435066230395475409727","29796428835661370424634177525723676779","71208079226228571284899369552623497422","92991996526894120423453523097810681756","11691066418995635475663860309661577737","40319561672894999434589735710626184811","74995802023259967585858196015188848302","201650482680815534523902584600263370213","124178831935850050175092420270566713219","85165467543908781535654889874931880583","324808063259102061449608765920887758680","302654508028090876352928296213119533202","270035627525315685364776826322667719984","226527341042106617328429623639750229196","335763259017894481801015130381714620563","279208446941273012664372115606477508042","96255135909292746922878597907012475375","298303350854813316219269694657272510513","50172756788623595081946063659037710315","298073237340986366346746425347182579347","71208079226228571284899369552623497422","92991996526894120423453523097810681756","11691066418995635475663860309661577737","40319561672894999434589735710626184811","143614715805894517956220979700360530938","217290679233142547081476802513980606243","317123592901742839588797077481908477176","197453337468581572888730343449008751269","205478593346733644643834223890523802606","336062161107090688559221204070095108693","122191385941519010641786838223962496382","226527341042106617328429623639750229196","335763259017894481801015130381714620563","279208446941273012664372115606477508042","96255135909292746922878597907012475375","298303350854813316219269694657272510513","50172756788623595081946063659037710315","298073237340986366346746425347182579347","71208079226228571284899369552623497422","92991996526894120423453523097810681756","11691066418995635475663860309661577737","40319561672894999434589735710626184811","143614715805894517956220979700360530938","217290679233142547081476802513980606243","317123592901742839588797077481908477176","38417767305059751679211666524646622628","179464024606265751575829003579094383351","74462511095713452474884121360607663830","304818422647772692060180967020858312466"],"threshold":0.9},"id":"CVE-2026-125241-53d5bdbe","signature_type":"Line"},{"signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f612b306eb04f81138173f705df9a9b055b01d","target":{"file":"libavcodec/flicvideo.c","function":"flic_decode_frame_24BPP"},"deprecated":false,"digest":{"function_hash":"234259624640158994340082441290002040502","length":5636},"id":"CVE-2026-125241-5cc258d3","signature_type":"Function"},{"digest":{"function_hash":"280073846066402352566055543567494347567","length":212},"id":"CVE-2026-125241-693123c6","signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f612b306eb04f81138173f705df9a9b055b01d","target":{"file":"libavcodec/flicvideo.c","function":"check_pixel_ptr"},"deprecated":false},{"id":"CVE-2026-125241-92dae5ae","signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f612b306eb04f81138173f705df9a9b055b01d","target":{"file":"libavcodec/flicvideo.c","function":"flic_decode_frame_8BPP"},"deprecated":false,"digest":{"function_hash":"146305750767506435532462503560699759520","length":6783}},{"digest":{"length":5919,"function_hash":"237804949001775265649715215611803402895"},"id":"CVE-2026-125241-ab09ff2f","signature_type":"Function","signature_version":"v1","source":"https://github.com/ffmpeg/ffmpeg/commit/27f612b306eb04f81138173f705df9a9b055b01d","target":{"file":"libavcodec/flicvideo.c","function":"flic_decode_frame_15_16BPP"},"deprecated":false}],"vanir_signatures_modified":"2026-11-15T07:04:18Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}