{"id":"CVE-2026-66036","aliases":["CVE-2026-66036"],"related":[],"kind":"vulnerability","state":"published","title":"FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter","summary":"FFmpeg through 8.1.2, fixed in commit 5d7112c, contains a heap out-of-bounds write vulnerability in the vf_hqdn3d filter that allows attackers to corrupt heap memory by supplying a crafted video whose frame resolution increases between frames when filtergraph reinitialization is disabled via the -reinit_filter 0 option. Attackers can provide a malicious video input where vf_hqdn3d.config_input() allocates undersized per-plane line-history buffers based on the initial frame width, and subsequent larger frames cause denoise_spatial() to write beyond the allocation boundary, resulting in heap memory corruption.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FFmpeg through 8.1.2, fixed in commit 5d7112c, contains a heap out-of-bounds write vulnerability in the vf_hqdn3d filter that allows attackers to corrupt heap memory by supplying a crafted video whose frame resolution increases between frames when filtergraph reinitialization is disabled via the -reinit_filter 0 option. Attackers can provide a malicious video input where vf_hqdn3d.config_input() allocates undersized per-plane line-history buffers based on the initial frame width, and subsequent larger frames cause denoise_spatial() to write beyond the allocation boundary, resulting in heap memory corruption.","source":"cvelist"}],"published":"2026-07-24T19:34:16.223Z","modified":"2026-08-07T01:05:17.870Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"8.1.2","status":"affected"},{"type":"git","version":"5d7112c60e6f0f0742ce47d448e6da0718a70f4c","status":"unaffected"}],"vendor":"FFmpeg","product":"FFmpeg","repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"8.1.2"}],"vendor":"ffmpeg","product":"ffmpeg","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23783","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/5d7112c60e6f0f0742ce47d448e6da0718a70f4c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-in-vf-hqdn3d-filter","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Adrian Junge (vurlo)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-28T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-66036","url":"https://www.cve.org/CVERecord?id=CVE-2026-66036","licence":"CVE Terms of Use","modified":"2026-07-29T03:55:35.961Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-66036","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66036","licence":"Public domain","modified":"2026-08-07T01:05:17.870Z"}],"updatedAt":"2026-11-25T22:59:30.032Z","epss":{"score":0.00401,"percentile":0.36425,"date":"2026-12-01T12:00:22.000Z"}}