CVE-2026-66036 json
FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter
published 2026-07-24 3 mo ago modified 2026-08-08 3 mo ago also EUVD-2026-48738 , GHSA-575m-jfmw-q76c , JLSEC-2026-1182
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
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.
Patch / fix
- julia FFMPEG_jll 9.0.0+0
- julia FFMPEG_nogpl_jll 9.0.0+0
- julia FFplay_jll 9.0.0+0
- ffmpeg Debian 14 7:9.0.2-1
debian advisories DEBIAN-CVE-2026-66036
- ffmpeg Ubuntu Pro 16.04 LTS 7:2.8.17-0ubuntu0.1+esm15
- ffmpeg Ubuntu Pro 18.04 LTS 7:3.4.11-0ubuntu0.1+esm13
- ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm14
- ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm13
- ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm11
- ffmpeg Ubuntu Pro 26.04 LTS 7:8.0.1-3ubuntu2+esm3
ubuntu advisories UBUNTU-CVE-2026-66036
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg enterprise linux ai 3.0 6.1.6-9.el9ai
- ffmpeg-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
- libavutil-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
- libavcodec-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
- libswscale-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
- libavdevice-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
- libavfilter-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
- libavformat-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
red hat advisories RHSA-2026:74089RHSA-2026:66381RHSA-2026:60336RHSA-2026:60334RHSA-2026:60335
- ffmpeg-4 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 4.4.8-150400.3.75.1
- ffmpeg-4 SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 4.4.8-150600.13.55.1
- ffmpeg SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +10 more 3.4.2-150200.11.79.1
suse advisories SUSE-SU-2026:4150-1SUSE-SU-2026:4149-1SUSE-SU-2026:3934-1
- ffmpeg-7 openSUSE Leap 16.0 7.1.5-160000.1.1
- ffmpeg-8 openSUSE Tumbleweed 8.1.2-3.1
- ffmpeg-7 openSUSE Tumbleweed 7.1.5-2.1
- ffmpeg-4 openSUSE Tumbleweed 4.4.8-4.1
- ffmpeg-9 openSUSE Tumbleweed 9.0.1-2.1
opensuse advisories openSUSE-SU-2026:21877-1openSUSE-SU-2026:11682-1openSUSE-SU-2026:11665-1openSUSE-SU-2026:11563-1openSUSE-SU-2026:11545-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-66036 updated cvss 8.8
ffmpeg: FFmpeg: Arbitrary code execution via crafted video in vf_hqdn3d filter
-
Red Hat AI Inference Server 3.5 rhaii/vllm-cpu-rhel9 1791473614, rhaii/vllm-cuda-rhel9 1791473631, rhaii/vllm-rocm-rhel9 1791425869, rhaii/vllm-gaudi-rhel9 1791427182, rhaii/vllm-spyre-rhel9 1791818357, rhaii/model-opt-cuda-rhel9 1791803821fixed: vendor fix RHSA-2026:82066
-
Red Hat Enterprise Linux AI 3.0 for RHEL 9 ffmpeg 6.1.6-9.el9ai, ffmpeg-free-rhai 6.1.6-9.el9ai, libavutil-free-rhai 6.1.6-9.el9ai, libavcodec-free-rhai 6.1.6-9.el9ai, libswscale-free-rhai 6.1.6-9.el9ai, libavdevice-free-rhai 6.1.6-9.el9ai, +4 morefixed: vendor fix RHSA-2026:74089
-
Red Hat Enterprise Linux AI 3.3 for RHEL 9 ffmpeg 6.1.6-7.el9ai, ffmpeg-free-rhai 6.1.6-7.el9ai, libavutil-free-rhai 6.1.6-7.el9ai, libavcodec-free-rhai 6.1.6-7.el9ai, libswscale-free-rhai 6.1.6-7.el9ai, libavdevice-free-rhai 6.1.6-7.el9ai, +4 morefixed: vendor fix RHSA-2026:60336
-
Red Hat Enterprise Linux AI 3.4 for RHEL 9 ffmpeg 6.1.6-7.el9ai, ffmpeg-free-rhai 6.1.6-7.el9ai, libavutil-free-rhai 6.1.6-7.el9ai, libavcodec-free-rhai 6.1.6-7.el9ai, libswscale-free-rhai 6.1.6-7.el9ai, libavdevice-free-rhai 6.1.6-7.el9ai, +4 morefixed: vendor fix RHSA-2026:60334
-
Red Hat Enterprise Linux AI 3.5 rhelai3/bootc-cuda-rhel9 1793135861, rhelai3/bootc-rocm-rhel9 1793135863, rhelai3/bootc-aws-cuda-rhel9 1793194817, rhelai3/bootc-gcp-cuda-rhel9 1793194815, rhelai3/disk-image-cuda-rhel9 1793206758, rhelai3/bootc-azure-cuda-rhel9 1793194815, +1 morefixed: vendor fix RHSA-2026:92452
-
Red Hat Enterprise Linux AI 3.5 for RHEL 9 ffmpeg 6.1.6-7.el9ai, ffmpeg-free-rhai 6.1.6-7.el9ai, libavutil-free-rhai 6.1.6-7.el9ai, libavcodec-free-rhai 6.1.6-7.el9ai, libswscale-free-rhai 6.1.6-7.el9ai, libavdevice-free-rhai 6.1.6-7.el9ai, +4 morefixed: vendor fix RHSA-2026:60335
-
Red Hat Enterprise Linux AI 3.6 for RHEL 9 ffmpeg 6.1.6-8.el9ai, ffmpeg-free-rhai 6.1.6-8.el9ai, libavutil-free-rhai 6.1.6-8.el9ai, libavcodec-free-rhai 6.1.6-8.el9ai, libswscale-free-rhai 6.1.6-8.el9ai, libavdevice-free-rhai 6.1.6-8.el9ai, +4 morefixed: vendor fix RHSA-2026:66381
-
Red Hat OpenShift AI 2.25 rhoai/odh-vllm-gaudi-rhel9 1786712464fixed: vendor fix RHSA-2026:65126
show 4 moreshow fewer
-
Red Hat OpenShift AI 3.2 rhai/base-image-cpu-rhel9 1791232203, rhai/base-image-tpu-rhel9 1791231896, rhai/base-image-cuda-rhel9 1791232024, rhai/base-image-cuda-rhel9 1791818587, rhai/base-image-rocm-rhel9 1791231767, rhai/base-image-rocm-rhel9 1791231952, +1 morefixed: vendor fix RHSA-2026:81128
-
Red Hat OpenShift AI 3.3 rhoai/odh-vllm-gaudi-rhel9 1789121263fixed: vendor fix RHSA-2026:73987
-
Red Hat OpenShift AI 3.5 rhai/base-image-cpu-rhel9 1790703656, rhai/base-image-cpu-rhel9 1791232399, rhai/base-image-tpu-rhel9 1790703554, rhai/base-image-gaudi-rhel9 1790703552, rhai/base-image-rubin-rhel9 1790703707, rhai/base-image-spyre-rhel9 1790703630, +7 morefixed: vendor fix RHSA-2026:81161
-
Red Hat OpenShift AI 2.25 rhoai/odh-rhel9-operator 1788331391, rhoai/odh-vllm-cpu-rhel9 1786712073, rhoai/odh-dashboard-rhel9 1788312226, rhoai/odh-modelmesh-rhel9 1788319539, rhoai/odh-operator-bundle 1788332816, rhoai/odh-vllm-cuda-rhel9 1786710989, +70 more Red Hat OpenShift AI 3.3 rhoai/odh-cli-rhel9 1790070206, rhoai/rhai-cli-rhel9 1790070206, rhoai/odh-mlflow-rhel9 1789653606, rhoai/odh-trainer-rhel9 1790136369, rhoai/odh-maas-api-rhel9 1790131842, rhoai/odh-mlserver-rhel9 1789121365, +76 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 3 mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.7 | 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 |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 7.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | FFMPEG_jll | <9.0.0+0 |
9.0.0+0 |
| julia | FFMPEG_nogpl_jll | <9.0.0+0 |
9.0.0+0 |
| julia | FFplay_jll | <9.0.0+0 |
9.0.0+0 |
Affected products
- FFmpeg FFmpeg
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
-
code.ffmpeg.org
/FFmpeg/FFmpeg/commit/5d7112c60e6f0f0742ce47d448e6da0718a70f4c
patch, web
-
code.ffmpeg.org
/FFmpeg/FFmpeg/pulls/23783
issue-tracking, patch, web
-
vulncheck.com
/advisories/ffmpeg-heap-out-of-bounds-write-in-vf-hqdn3d-filter
third-party-advisory, web
-
github.com
/advisories/GHSA-575m-jfmw-q76c
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-66036
web
Sources
- CVE List CVE-2026-66036
- NVD CVE-2026-66036
- OSV JLSEC-2026-1182
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.