5.4
Medium
CVE-2026-40930 LIBPNG is a reference library for use in applications that process PNG (Portable Network Graphics) raster image files
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| libpng | 1.8.0 | No fix stated |
| libpng-apng 1.6 | 1.6.49 → 1.6.57 | No fix stated |
References
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of libpng
The 13 CVEs of libpng →
CVE-2026-34757
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network…
5.1
Medium
CVE-2026-33636
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network…
7.6
High
CVE-2026-33416
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network…
7.5
High
CVE-2026-3713
A flaw has been found in pnggroup libpng up to 1.6.55
4.8
Medium