Bug 2510587

Summary: CVE-2026-66036 ffmpeg: FFmpeg: Arbitrary code execution via crafted video in vf_hqdn3d filter [fedora-all]
Product: [Fedora] Fedora Reporter: Marian Rehak <mrehak>
Component: ffmpegAssignee: Multimedia SIG <multimedia-sig>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 45CC: asn, dominik, multimedia-sig, ngompa13, philip.wyett
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["d448b604-954b-470f-beab-f19a74e5e358"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2506909    

Description Marian Rehak 2026-08-03 10:08:43 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:45:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.