SicherheitslageDEEN

CVE-2026-66040

ffmpeg ffmpeg

Patch priority

Regular

Fix with the next regular update.

CVSS
8.8
Severity
8.8
EPSS
0.5 %
Percentile
45
Actively exploited
not known

The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary

What do I need to do?

in plain words

Who is affected?

Only those who run ffmpeg ffmpeg. The vendor name tells you whether the product is in use at your place.

How dangerous is it?

What to do?

  1. Include it in your next regular update.
  2. The vendor’s advisories (linked below) name the fixed version.
  3. If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.

Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained

Description

NVD

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.

Vendor / product
ffmpeg ffmpeg
Published
24.07.2026
Modified
07.08.2026
CWE
CWE-122
Status
Analyzed

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vendor reference

Vendor updates

5

Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.