PT-2026-64416
CVE-2026-66040
·
Published
2026-07-24
·
Updated
2026-08-07
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
FFmpeg versions prior to 8.1.2
Description
A heap out-of-bounds write exists in the native PNG and APNG encoders. A remote attacker can corrupt heap memory by providing a crafted PNG image containing a malicious eXIf chunk. By creating an eXIf chunk where multiple IFD (Image File Directory) entries reference the same large value payload, the canonical serialization expands the output beyond the allocation estimated by the
add exif profile size() function. This causes the png write chunk() function to write data past the buffer boundary, leading to deterministic heap corruption, process crashes, and potentially arbitrary code execution.Recommendations
Update to the version containing commit b506faf.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾