Multiple high-severity vulnerabilities in FFmpeg could allow attackers to corrupt memory, disclose process data, or exhaust system resources.
This can happen if users or automated media-processing services are manipulated into handling specially crafted video, audio, image, or subtitle files.
The vulnerabilities affect FFmpeg versions up to 8.1.28. Organizations operating transcoding pipelines, media upload platforms, streaming services, and desktop video-processing tools are advised to apply the available upstream fixes promptly.
Security researchers have disclosed six high-severity vulnerabilities in FFmpeg, which could expose affected systems to heap memory corruption, denial-of-service conditions, and information disclosure.
These issues were reported by Adrian Junge, known as vurlo, and published on July 24, 2026. Several vulnerabilities can be triggered by processing malicious media files with vulnerable FFmpeg instances, posing risks for applications that automatically inspect, decode, transcode, or generate media content.
The most serious vulnerabilities involve out-of-bounds writes in components handling MACE6 audio, PNG/APNG metadata, the HQDN3D video filter, and the Quirc QR-code detection filter.
These memory-corruption conditions may crash the affected process and could potentially be exploited for arbitrary code execution, depending on the context and exploitability constraints.
CVE-2026-66036, affects the vf_hqdn3d denoising filter. An attacker can craft a video with frames whose resolution increases during processing.
When FFmpeg runs with the option `-reinit_filter 0`, the filter may retain line-history buffers allocated for the original smaller frame size. This can lead to the `denoise_spatial()` routine writing beyond these allocations when processing larger frames, corrupting heap memory.
CVE-2026-66039 is significant as it affects FFmpeg’s MACE6 audio decoder while processing malicious CAF files. A manipulated `bytes_per_packet` and `frames_per_packet` value can trigger signed integer overflow during output sample-size calculations, resulting in undersized allocations followed by out-of-bounds heap writes.
CVE-2026-66040, a critical vulnerability, is present in FFmpeg’s native PNG and APNG encoders. This can be triggered through a crafted PNG image containing a malicious eXIf chunk.
Multiple IFD entries pointing to the same large payload can cause canonical metadata serialization to exceed the output buffer size calculated by `add_exif_profile_size()`, resulting in writes beyond the heap allocation.
Affected CVEs:
Administrators are urged to update FFmpeg packages as soon as vendors release patched builds. Media-processing services should also isolate FFmpeg workloads, enforce file-size and resource limits, validate accepted formats, and execute parsers with the least privilege necessary. These measures can help reduce exposure when immediate patching is not feasible.
ALERT: 20+ government sites delivered malware to businesses and citizens. See full attack research to check your own exposure.
A long-running pay-per-install (PPI) operation that used YouTube gaming channels and SEO-poisoned software downloads to…
Two security vulnerabilities in VLC media player versions 3.0.0 through 3.0.23 could allow attackers to…
The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added two vulnerabilities in MikroTik RouterOS…
A recently disclosed vulnerability in ConfigServer Security & Firewall (CSF) could allow unauthenticated remote attackers…
Threat actors are adapting malware not only for conventional endpoint defenses and sandboxes, but also…
GitLab has issued an emergency security update to address two critical vulnerabilities that could lead…