Bug 2510587 - CVE-2026-66036 ffmpeg: FFmpeg: Arbitrary code execution via crafted video in vf_hqdn3d filter [fedora-43]
Summary: CVE-2026-66036 ffmpeg: FFmpeg: Arbitrary code execution via crafted video in ...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: ffmpeg
Version: 43
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Multimedia SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["d448b604-954b-470f-beab-f...
Depends On:
Blocks: CVE-2026-66036
TreeView+ depends on / blocked
 
Reported: 2026-08-03 10:08 UTC by Marian Rehak
Modified: 2026-10-01 01:11 UTC (History)
5 users (show)

Fixed In Version: ffmpeg-9.0.1-1.fc46,ffmpeg-9.0.1-4.fc45,ffmpeg-8.1.3-1.fc44
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.

Comment 2 Dominik 'Rathann' Mierzejewski 2026-09-28 11:45:04 UTC
Fixed in:
9.0: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/62294b6a8ad2370e1435bb9985ebe6b53be14c2b

NOT fixed in 8.1.x or 7.1.x.

Comment 4 Fedora Update System 2026-09-29 07:30:51 UTC
FEDORA-2026-3e109a0c85 (ffmpeg-8.1.3-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3e109a0c85

Comment 5 Fedora Update System 2026-10-01 01:11:58 UTC
FEDORA-2026-3e109a0c85 (ffmpeg-8.1.3-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.