Live threats

All CVEs / Ffmpeg

CVE-2026-66040Ffmpeg

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Jul 24, 2026
Updated
Aug 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

FFmpeg through 8.1.2, fixed in commit b506faf, contains a heap out-of-bounds write vulnerability in the native PNG and APNG encoders that allows remote attackers to corrupt heap memory by supplying a crafted PNG image with a malicious eXIf chunk. Attackers can craft an eXIf chunk where multiple IFD entries reference the same large value payload, causing canonical serialization to expand the output far beyond the undersized allocation estimated by add_exif_profile_size(), resulting in png_write_chunk() writing tens of thousands of bytes past the buffer boundary, leading to deterministic heap corruption, process crash, and potentially arbitrary code execution.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ffmpeg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ffmpegffmpeg≤ 8.1.2

Official sources

References

Links published by the sources. Open them with care.