FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because ff_nvdec_start_frame() fails to reset ctx->bitstream after slice errors. Attackers can supply crafted video that abandons a picture before end_frame, causing cuvidDecodePicture() to read freed heap memory, crashing applications or exposing stale heap contents.
{
"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-125265",
"id": "CVE-2026-125265",
"imported": "2026-12-02T20:13:53.539Z",
"modified": "2026-11-25T15:07:54.500Z",
"published": "2026-11-09T20:18:13.090Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125265"
},
{
"html_url": "https://github.com/advisories/GHSA-fq5x-phj3-f454",
"id": "GHSA-fq5x-phj3-f454",
"imported": "2026-12-02T20:14:49.329Z",
"modified": "2026-11-09T21:32:10Z",
"published": "2026-11-09T21:32:07Z",
"url": "https://api.github.com/advisories/GHSA-fq5x-phj3-f454"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120215",
"id": "EUVD-2026-120215",
"imported": "2026-12-02T20:13:54.638Z",
"modified": "2026-11-14T02:13:15Z",
"published": "2026-11-09T19:12:06Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120215"
}
]
}