{
  "id": "CVE-2026-66036",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-66036",
  "published_at": "2026-07-24T19:34:16.223Z",
  "title": "FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter",
  "vendor": "FFmpeg",
  "product": "FFmpeg",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FFmpeg",
        "product": "FFmpeg",
        "ranges": [
          "\u003c= 8.1.2"
        ],
        "fixed_in": [
          "5d7112c60e6f0f0742ce47d448e6da0718a70f4c"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FFmpeg to 5d7112c60e6f0f0742ce47d448e6da0718a70f4c or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/5d7112c60e6f0f0742ce47d448e6da0718a70f4c"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
