CVE-2026-66040
ffmpeg ffmpeg
Patch priority
RegularFix 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 wordsWho 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?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- 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
NVDFFmpeg 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 updates
5- Red Hat: RHSA-2026:103423 – RHSA-2026:103423 registry.redhat.io/rhaii/vllm-spyre-rhel9@sha256:dbc26c82adeef26f1476117e0e93933ef5684cf2029bc9828d26afb … 24.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:103422 – RHSA-2026:103422 registry.redhat.io/rhaii/model-opt-cuda-rhel9@sha256:433fe53d7401a888aab4a63aa265e7faabffcd45c43e0ab9011 … 24.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:103421 – RHSA-2026:103421 registry.redhat.io/rhaii/vllm-cuda-rhel9@sha256:616054a98e588df141a5ce9f0a45aa563791fc298a7ff15f14c0f71d … 24.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:103315 – RHSA-2026:103315 registry.redhat.io/rhaii/vllm-cpu-rhel9@sha256:782993077b6dade119da14daa31374644be4b66dac9ced4f888f26745 … 24.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:73987 – RHSA-2026:73987 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:bf08b9713fb677f4b3605c29ac85fcabc4d41d085b6053 … 30.09.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.