CVE-2026-40930
Fixed in a distro release EPSS <1%CVSS 5.4
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.
Products: pnggroup libpng, pnggroup libpng-apng
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.21 | libpng | 1.6.59-r0 |
| Alpine 3.22 | libpng | 1.6.59-r0 |
| Alpine 3.23 | libpng | 1.6.58-r1 |
| Alpine 3.24 | libpng | 1.6.58-r1 |
| Amazon Linux 2 | thunderbird | 140.11.1-1.amzn2.0.2 |
| Amazon Linux 2023 | firefox | 140.11.0-1.amzn2023.0.1 |
| Debian 12 | libpng1.6 | 1.6.37-4 |
| Debian 13 | libpng1.6 | 1.6.37-4 |
| Debian 14 | libpng1.6 | 1.6.37-4 |
| Red Hat hummingbird 1 | libpng | 0:1.6.58-1.hum1 |
| Red Hat hummingbird 1 | libpng-devel | 0:1.6.58-1.hum1 |
| Red Hat hummingbird 1 | libpng-static | 0:1.6.58-1.hum1 |
| Red Hat hummingbird 1 | libpng-tools | 0:1.6.58-1.hum1 |
| Ubuntu 22.04 LTS | libpng1.6 | 1.6.37-3ubuntu0.6 |
| Ubuntu Pro 14.04 LTS | libpng | 1.2.50-1ubuntu2.14.04.3+esm2 |
| Ubuntu Pro 16.04 LTS | libpng | 1.2.54-1ubuntu1.1+esm3 |
| Ubuntu Pro 16.04 LTS | libpng1.6 | 1.6.20-2ubuntu0.1~esm4 |
| Ubuntu Pro 18.04 LTS | libpng1.6 | 1.6.34-1ubuntu0.18.04.2+esm3 |
| Ubuntu Pro 20.04 LTS | libpng1.6 | 1.6.37-2ubuntu0.1~esm3 |