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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125241.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "9.0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "27f612b306eb04f81138173f705df9a9b055b01d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125241.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "98756386834120326013800719226918648146",
"length": 3730
},
"id": "CVE-2026-125241-0efeaa52",
"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": {
"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"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "234259624640158994340082441290002040502",
"length": 5636
},
"id": "CVE-2026-125241-5cc258d3",
"signature_type": "Function",
"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": "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,
"digest": {
"function_hash": "146305750767506435532462503560699759520",
"length": 6783
},
"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": "237804949001775265649715215611803402895",
"length": 5919
},
"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"
}
}
]
"2026-11-15T07:04:18Z"