FFmpeg through 9.0.2 contains an integer underflow in decode_frame() in libavcodec/lcldec.c that allows attackers to trigger a heap out-of-bounds read via short ZLIB packets with FLAG_MULTITHREAD. Attackers can supply a crafted AVI or MKV file with an LCL video stream whose packet is shorter than 8 bytes, bypassing length clamping to crash the decoding application.
{
"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-125197",
"id": "CVE-2026-125197",
"imported": "2026-12-02T20:13:53.404Z",
"modified": "2026-11-25T15:31:32.047Z",
"published": "2026-11-09T19:16:55.823Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125197"
},
{
"html_url": "https://github.com/advisories/GHSA-82jp-g685-6p37",
"id": "GHSA-82jp-g685-6p37",
"imported": "2026-12-02T20:14:52.655Z",
"modified": "2026-11-09T21:32:01Z",
"published": "2026-11-09T21:31:55Z",
"url": "https://api.github.com/advisories/GHSA-82jp-g685-6p37"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120286",
"id": "EUVD-2026-120286",
"imported": "2026-12-02T20:13:54.757Z",
"modified": "2026-11-14T02:02:34Z",
"published": "2026-11-09T19:11:17Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120286"
}
]
}