FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the Cook multichannel decoder in libavcodec/cook.c that fails to verify subpacket channel masks are disjoint. Attackers can supply a crafted RealMedia Cook stream with overlapping subpacket masks, causing cook_decode_frame() to write decoded samples beyond allocated output planes in any application decoding the file.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125203",
"id": "CVE-2026-125203",
"imported": "2026-12-02T20:13:53.410Z",
"modified": "2026-11-30T14:27:09.440Z",
"published": "2026-11-09T19:16:56.740Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125203"
},
{
"html_url": "https://github.com/advisories/GHSA-gc9x-4w7v-3282",
"id": "GHSA-gc9x-4w7v-3282",
"imported": "2026-12-02T20:16:40.501Z",
"modified": "2026-11-09T21:32:01Z",
"published": "2026-11-09T21:31:56Z",
"url": "https://api.github.com/advisories/GHSA-gc9x-4w7v-3282"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 <8.1.3",
"9.0 <9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120292",
"id": "EUVD-2026-120292",
"imported": "2026-12-02T20:13:54.796Z",
"modified": "2026-11-10T19:09:42Z",
"published": "2026-11-09T19:11:22Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120292"
}
]
}