FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 35 advisories
- RHSA-2026:92452 Released 2026-10-29 · Red Hat rating CriticalRed Hat Enterprise Linux AI 3.5.2 enhancement update
- Red Hat Enterprise Linux AI 3.5 registry.redhat.io/rhelai3/bootc-aws-cuda-rhel9, registry.redhat.io/rhelai3/bootc-azure-cuda-rhel9, registry.redhat.io/rhelai3/bootc-azure-rocm-rhel9 +3
- RHSA-2026:92449 Released 2026-10-29 · Red Hat rating CriticalRed Hat Enterprise Linux AI 3.5.2 enhancement update
- Red Hat Enterprise Linux AI 3.5 registry.redhat.io/rhelai3/disk-image-cuda-rhel9
- RHSA-2026:82921 Released 2026-10-14 · Red Hat rating ImportantRed Hat AI Base Images 3.2.5 (CUDA 12.9)
- Red Hat OpenShift AI 3.2 registry.redhat.io/rhai/base-image-cuda-rhel9
Show 32 more Red Hat advisories
- RHSA-2026:82415 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference 3.5.2 (cpu)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-cpu-rhel9
- RHSA-2026:82371 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference 3.5.2 (spyre)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-spyre-rhel9
- RHSA-2026:82368 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference 3.5.2 (cuda)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-cuda-rhel9
- RHSA-2026:82066 Released 2026-10-13 · Red Hat rating ImportantRed Hat AI Inference Model Optimization Tools 3.5.2 (CUDA)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/model-opt-cuda-rhel9
- RHSA-2026:82061 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference Tech Preview 3.5.2 (Gaudi)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-gaudi-rhel9
- RHSA-2026:82059 Released 2026-10-13 · Red Hat rating CriticalRed Hat AI Inference 3.5.2 (ROCm)
- Red Hat AI Inference Server 3.5 registry.redhat.io/rhaii/vllm-rocm-rhel9
- RHSA-2026:81170 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.5.3 (CUDA 12.9)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-cuda-12.9-rhel9
- RHSA-2026:81161 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.5.3 (CPU)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-cpu-rhel9
- RHSA-2026:81128 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.2.4 (CPU)
- Red Hat OpenShift AI 3.2 registry.redhat.io/rhai/base-image-cpu-rhel9
- RHSA-2026:80860 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.5.3 (Spyre)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-spyre-rhel9
- RHSA-2026:80856 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.5.3 (CUDA 13.0)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-cuda-13.0-rhel9
- RHSA-2026:80760 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.2.4 (Spyre)
- Red Hat OpenShift AI 3.2 registry.redhat.io/rhai/base-image-spyre-rhel9
- RHSA-2026:80757 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.2.4 (ROCm 7.0)
- Red Hat OpenShift AI 3.2 registry.redhat.io/rhai/base-image-rocm-rhel9
- RHSA-2026:80739 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.2.4 (CUDA 12.9)
- Red Hat OpenShift AI 3.2 registry.redhat.io/rhai/base-image-cuda-rhel9
- RHSA-2026:80740 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.2.4 (ROCm 6.4)
- Red Hat OpenShift AI 3.2 registry.redhat.io/rhai/base-image-rocm-rhel9
- RHSA-2026:80735 Released 2026-10-12 · Red Hat rating ImportantRed Hat AI Base Images 3.2.4 (TPU)
- Red Hat OpenShift AI 3.2 registry.redhat.io/rhai/base-image-tpu-rhel9
- RHSA-2026:76042 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (CUDA)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-cuda-12.9-rhel9
- RHSA-2026:75660 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (Spyre)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-spyre-rhel9
- RHSA-2026:75659 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (ROCm 7.14)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-rocm-7.14-rhel9
- RHSA-2026:75658 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (TPU)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-tpu-rhel9
- RHSA-2026:75657 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (CUDA 13.0)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-cuda-13.0-rhel9
- RHSA-2026:75655 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (Rubin)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-rubin-rhel9
- RHSA-2026:75654 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (Neuron)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-neuron-rhel9
- RHSA-2026:75652 Released 2026-10-05 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (CPU)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-cpu-rhel9
- RHSA-2026:74771 Released 2026-10-01 · Red Hat rating ImportantRed Hat AI Base Images 3.5.2 (Gaudi)
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-gaudi-rhel9
- RHSA-2026:74089 Released 2026-09-30 · Red Hat rating ModerateRHEL AI 3.0 RPM runtime CVE fix - ffmpeg
- Red Hat Enterprise Linux AI 3.0 for RHEL 9 ffmpeg-6.1.6-9.el9ai, ffmpeg-free-rhai-6.1.6-9.el9ai, ffmpeg-free-rhai-devel-6.1.6-9.el9ai +16
- RHSA-2026:73987 Released 2026-09-30 · Red Hat rating CriticalRHOAI 3.3.7 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.3 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel9 +47
- RHSA-2026:66381 Released 2026-09-10 · Red Hat rating ImportantRHEL AI 3.6 RPM runtime CVE fix - ffmpeg
- Red Hat Enterprise Linux AI 3.6 for RHEL 9 ffmpeg-6.1.6-8.el9ai, ffmpeg-free-rhai-6.1.6-8.el9ai, ffmpeg-free-rhai-devel-6.1.6-8.el9ai +16
- RHSA-2026:65126 Released 2026-09-08 · Red Hat rating ImportantRHOAI 2.25.11 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +47
- RHSA-2026:60336 Released 2026-08-26 · Red Hat rating ImportantRHEL AI 3.3 RPM runtime CVE fix - ffmpeg
- Red Hat Enterprise Linux AI 3.3 for RHEL 9 ffmpeg-6.1.6-7.el9ai, ffmpeg-free-rhai-6.1.6-7.el9ai, ffmpeg-free-rhai-devel-6.1.6-7.el9ai +16
- RHSA-2026:60334 Released 2026-08-26 · Red Hat rating ImportantRHEL AI 3.4 RPM runtime CVE fix - ffmpeg
- Red Hat Enterprise Linux AI 3.4 for RHEL 9 ffmpeg-6.1.6-7.el9ai, ffmpeg-free-rhai-6.1.6-7.el9ai, ffmpeg-free-rhai-devel-6.1.6-7.el9ai +16
- RHSA-2026:60335 Released 2026-08-26 · Red Hat rating ImportantRHEL AI 3.5 RPM runtime CVE fix - ffmpeg
- Red Hat Enterprise Linux AI 3.5 for RHEL 9 ffmpeg-6.1.6-7.el9ai, ffmpeg-free-rhai-6.1.6-7.el9ai, ffmpeg-free-rhai-devel-6.1.6-7.el9ai +16
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-66036
- 2026-10-03 Alias added: GHSA-575m-jfmw-q76c
- 2026-10-05 Fix available: RHSA-2026:75659 · Red Hat
- 2026-10-05 Fix available: RHSA-2026:75660 · Red Hat
- 2026-10-05 Fix available: RHSA-2026:75655 · Red Hat
- 2026-10-05 Fix available: RHSA-2026:75657 · Red Hat
- 2026-10-05 Fix available: RHSA-2026:75654 · Red Hat
- 2026-10-05 Fix available: RHSA-2026:75652 · Red Hat
- 2026-10-05 Fix available: RHSA-2026:75658 · Red Hat
- 2026-10-05 Affected versions changed · Red Hat
- 2026-10-06 Fix available: RHSA-2026:76042 · Red Hat
- 2026-10-06 Affected versions changed · Red Hat
- 2026-10-07 Fix available: RHSA-2026:73987 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:82066 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80735 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80739 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80740 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80757 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80760 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80856 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80860 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:81128 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:81161 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:81170 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:82061 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:82059 · Red Hat
- 2026-10-13 Fix available: Red Hat AI Inference Server 3.5, Red Hat OpenShift AI 3.2 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82368 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82415 · Red Hat
- 2026-10-14 Fix available: RHSA-2026:82371 · Red Hat
- 2026-10-15 Fix available: RHSA-2026:82921 · Red Hat
- 2026-10-16 Affected versions changed · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92452 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92449 · Red Hat
- 2026-10-30 Fix available: Red Hat Enterprise Linux AI 3.5 · Red Hat
References
Patch 2
More Ffmpeg vulnerabilities
- TI-2025-19015 FFmpeg git-master before commit d5873b was discovered to contain a memory leak in the component libavutil/iamf.c. CVSS 3.1HIGH 8.8
- TI-2024-21238 FFmpeg 7.0 contains a heap-buffer-overflow at libavfilter/vf_tiltandshift.c:189:5 in copy_column. CVSS 3.1HIGH 8.4
- TI-2023-06050 Ffmpeg: null pointer dereference in ffmpeg hls parsing CVSS 3.1HIGH 7.5
- TI-2023-28420 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… CVSS 3.1HIGH 8.0
- TI-2023-27357 FFmpeg v.n6.1-3-g466799d4f5 allows a heap-based buffer overflow via the… CVSS 3.1HIGH 8.0
- TI-2023-27044 Buffer Overflow vulnerability in FFmpeg version n6.1-3-g466799d4f5, allows a local… CVSS 3.1HIGH 8.0
Sources
- CVE-2026-66036 · CVE Program
- CVE-2026-66036 · NVD
- FIRST EPSS
- GHSA-575m-jfmw-q76c · GitHub Advisory Database · CC BY 4.0
- CVE-2026-66036 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences