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

Published Jul 24, 2026
·
Updated

FFmpeg through 8.1.2, fixed in commit 5d7112c, contains a heap out-of-bounds write vulnerability in the vfhqdn3d 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 -reinitfilter 0 option. Attackers can provide a malicious video input where vfhqdn3d.configinput() allocates undersized per-plane line-history buffers based on the initial frame width, and subsequent larger frames cause denoisespatial() to write beyond the allocation boundary, resulting in heap memory corruption.

Affected Software

1 affected component
FFmpeg FFmpeg<=8.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FFmpeg vf_hqdn3d filter to a version that resolves this vulnerability.

    Patch 5d7112c
  2. Configuration

    Do not disable filtergraph reinitialization; avoid using the -reinit_filter 0 option, since the vulnerability is triggered when reinitialization is disabled.

    FFmpeg filtergraph -reinit_filter = 1

Event History

Jul 24, 2026
CVE Published
via MITRE·07:34 PM
Data Sourced
via MITRE·07:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-66036?

CVE-2026-66036 has a high severity rating of 8.8.

2

How do I fix CVE-2026-66036?

To fix CVE-2026-66036, you should update to FFmpeg version 8.1.3 or later.

3

What is the impact of CVE-2026-66036?

CVE-2026-66036 allows attackers to corrupt heap memory through a crafted video.

4

Which versions of FFmpeg are affected by CVE-2026-66036?

FFmpeg versions up to and including 8.1.2 are affected by CVE-2026-66036.

5

What is the nature of the vulnerability in CVE-2026-66036?

CVE-2026-66036 is a heap out-of-bounds write vulnerability in the vf_hqdn3d filter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203