Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
FFmpeg FFmpeg
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FFmpeg是FFmpeg组织开源的一套可录制、转换以及流化音视频的完整解决方案。 FFmpeg 8.1.2及之前版本存在缓冲区错误漏洞,该漏洞源于vf_hqdn3d filter中基于初始帧宽度分配的每平面行历史缓冲区不足,当滤波器图重新初始化禁用后,后续更大帧导致denoise_spatial()写入超出分配边界,导致堆越界写入,攻击者可通过提供特制视频文件破坏堆内存。

CVSS 8.8 · High EPSS 0.50% · P41

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 2

VendorProduct Version RangeStatus
FFmpeg FFmpeg ≤ 8.1.2 affected
5d7112c60e6f0f0742ce47d448e6da0718a70f4c unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-66036

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FFmpeg Heap Out-of-Bounds Write in vf_hqdn3d Filter
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
FFmpeg 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FFmpeg是FFmpeg组织开源的一套可录制、转换以及流化音视频的完整解决方案。 FFmpeg 8.1.2及之前版本存在缓冲区错误漏洞,该漏洞源于vf_hqdn3d filter中基于初始帧宽度分配的每平面行历史缓冲区不足,当滤波器图重新初始化禁用后,后续更大帧导致denoise_spatial()写入超出分配边界,导致堆越界写入,攻击者可通过提供特制视频文件破坏堆内存。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FFmpeg FFmpeg 0 ~ 8.1.2 -

II. Public POCs for CVE-2026-66036

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-66036

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-66036 (2)

Vendor Advisories for CVE-2026-66036 (1)

Same Patch Batch · FFmpeg · 2026-07-24 · 6 CVEs total

CVE-2026-66040 8.8 HIGH FFmpeg Heap Out-of-Bounds Write via PNG/APNG eXIf Encoder
CVE-2026-66041 8.8 HIGH FFmpeg 7.0 - 8.1.2 Heap Out-of-Bounds Write via vf_quirc Filter
CVE-2026-66039 8.8 HIGH FFmpeg MACE6 Audio Decoder Heap Out-of-Bounds Write via CAF File
CVE-2026-66037 6.5 MEDIUM FFmpeg IAMF Demuxer Uncontrolled Resource Consumption via mix_presentation_obu()
CVE-2026-66038 6.5 MEDIUM FFmpeg LCL/ZLIB Video Decoder Information Disclosure via lcldec.c

IV. Related Vulnerabilities

V. Comments for CVE-2026-66036

No comments yet


Leave a comment