VDB

CVE-2026-40930

CVE-2026-40930 PUBLISHED CVSS 5.4 MEDIUM

LIBPNG: Chunk smuggling in push-mode APNG parser via unconsumed chunk body

Reported by github_m · Published June 4, 2026

LIBPNG is a reference library for use in applications that process PNG (Portable Network Graphics) raster image files. In version 1.8.0, three inter-frame chunk discard paths in the push-mode APNG parser clear the chunk-header flag without consuming the chunk body and CRC, allowing attacker-controlled bytes inside an ignored ancillary chunk to be reinterpreted as a fresh chunk header on the next call to `png_process_data`. Commit faf06924688b62d7c1654b5ceddedbde66ffadb4 fixes the issue.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libpngAlpine1.6.59-r0, 1.6.58-r1
thunderbirdAmazon Linux140.11.1-1.amzn2.0.2
firefoxAmazon Linux140.11.0-1.amzn2023.0.1

Risk scores

CVSS 3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected products

VendorProductVersions
pnggrouplibpng= 1.8.0
pnggrouplibpng-apng>= 1.6.49, <= 1.6.57
alpinelibpng0, 0
amazon:2thunderbird0
amazon:2023firefox0
pnggrouplibpng-apng1.6.49
pnggrouplibpng1.8.0

Timeline

  • May 17, 2026 CVE Published
  • Jun 5, 2026 EPSS Score (23 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Jul 22, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch
  • Aug 11, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40930
vulnetix vdb fixes CVE-2026-40930

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40930/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›