Skip to content
pkgseek
Back to CVE search

CVE-2026-66040

high · 8.8

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 co…

First indexed 7/25/2026View on NVD

Advisory Facts

Markdown

CVE-2026-66040 is rated HIGH (8.8), with 24 indexed affected package builds across 1 distributions.

Severity / Score
HIGH (8.8)
Affected builds
24
Affected distros
1
Distros with fixed_in
None recorded in sample
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2026-66040?locale=en

Distribution-aware status

1
Distributions
24
Package/release records
1
Vendor advisories
0
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

24 affected package/release combinations