Back to CVE records
High 8.8Published Jul 24, 2026

CVE-2026-66036FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter

Updated under an hour ago ()

Does this affect you?

It affects FFmpeg. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
8.8 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-122
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
VulnCheck
NVD analysis
Analyzed
Record last updated
Jul 28, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
FFmpeg FFmpeg
ffmpeg:ffmpeg (from the name)
through 8.1.2; 5d7112c60e6f0f0742ce47d448e6da0718a70f4c not affected
CNA record
ffmpeg ffmpeg
ffmpeg:ffmpeg
through 8.1.2
NVD

References

  • issue-tracking, patch
  • patch
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.