CVE-2026-40930
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libpng | Alpine | 1.6.59-r0, 1.6.58-r1 |
| thunderbird | Amazon Linux | 140.11.1-1.amzn2.0.2 |
| firefox | Amazon Linux | 140.11.0-1.amzn2023.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pnggroup | libpng | = 1.8.0 |
| pnggroup | libpng-apng | >= 1.6.49, <= 1.6.57 |
| alpine | libpng | 0, 0 |
| amazon:2 | thunderbird | 0 |
| amazon:2023 | firefox | 0 |
| pnggroup | libpng-apng | 1.6.49 |
| pnggroup | libpng | 1.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