ECHO-191B-44FE-7772 Heap out-of-bounds write in the native PNG/APNG encoder when writing a crafted eXIf chunk (add_exif_profile_size() underestimates the sanitized IFD size). The eXIf-writing code does not exist in this source: libavcodec/pngenc.c at n7.1.5 (and on the release/7.1 branch) has no EXIF/IFD handling at all; it was added in the 8.x series, which is why the CVE range reads "through 8.1.2". Upstream fix b506fafe cannot apply here because the code it patches is absent. Refs: - https://security-tracker.debian.org/tracker/CVE-2026-66040 - https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/b506fafec9a19fcbc2be5271875fd4a63d6615bc details: | If this spec is ever bumped to a version whose pngenc.c writes eXIf chunks (8.1+), this entry MUST be re-evaluated and converted into a real PATCH_TYPE_UPSTREAM_PATCH entry.
| Reporter | Title | Published | Views | Family All 59 |
|---|---|---|---|---|
| CVE-2026-66040 | 24 Jul 202619:46 | – | attackerkb | |
| CVE-2026-66040 | 24 Jul 202619:46 | – | alpinelinux | |
| CVE-2026-66040 vulnerabilities | 21 Sep 202608:54 | – | cgr | |
| CVE-2026-66040 | 24 Jul 202622:00 | – | circl | |
| CVE-2026-66040 | 24 Jul 202619:46 | – | cve | |
| CVE-2026-66040 FFmpeg Heap Out-of-Bounds Write via PNG/APNG eXIf Encoder | 24 Jul 202619:46 | – | cvelist | |
| CVE-2026-66040 | 24 Jul 202619:46 | – | debiancve | |
| EUVD-2026-48742 | 24 Jul 202619:46 | – | euvd | |
| CVE-2026-66040 | 24 Jul 202620:18 | – | nvd | |
| CGA-25WJ-26WH-88HJ | 7 Aug 202612:10 | – | osv |
10
| Source | Link |
|---|---|
| advisory | www.advisory.echohq.com/cve/CVE-2026-66040 |
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
27 Sep 2026 12:15Current
5.7Medium risk
Vulners AI Score5.7
CVSS 3.18.8
CVSS 48.7
EPSS0.00776
SSVC