{"id":"CVE-2026-66036","published":"2026-07-24T19:34:16Z","modified":"2026-07-29T03:55:35Z","title":"FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter","vendor":"FFmpeg","product":"FFmpeg","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00401,"percentile":0.35191,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23783","tags":["issue-tracking"]},{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/5d7112c60e6f0f0742ce47d448e6da0718a70f4c","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-in-vf-hqdn3d-filter","tags":["third-party-advisory"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":7.04},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"ffmpeg","affectedVersions":[{"vendor":"FFmpeg","product":"FFmpeg","versions":["<= 8.1.2"]}],"fixedVersions":[{"vendor":"FFmpeg","product":"FFmpeg","versions":["5d7112c60e6f0f0742ce47d448e6da0718a70f4c"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-28T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-48738","exploited":false,"provenance":"source"}}