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.
{
"sources": [
{
"modified": "2026-08-07T01:05:17.870Z",
"database_specific": {
"status": "Analyzed"
},
"id": "CVE-2026-66036",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66036",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-66036",
"imported": "2026-08-07T05:41:14.706Z",
"published": "2026-07-24T20:18:20.433Z"
},
{
"modified": "2026-07-24T21:32:28Z",
"published": "2026-07-24T21:32:22Z",
"id": "GHSA-575m-jfmw-q76c",
"url": "https://api.github.com/advisories/GHSA-575m-jfmw-q76c",
"imported": "2026-08-07T05:42:36.715Z",
"html_url": "https://github.com/advisories/GHSA-575m-jfmw-q76c"
},
{
"modified": "2026-07-29T03:55:35Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48738",
"id": "EUVD-2026-48738",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-48738",
"imported": "2026-08-07T05:41:15.317Z",
"published": "2026-07-24T19:34:16Z"
}
],
"license": "CC-BY-4.0"
}