CVE-2026-34757
Fixed in a distro release EPSS <1%CVSS 5.1
LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.0.9 to before 1.6.57, passing a pointer obtained from png_get_PLTE, png_get_tRNS, or png_get_hIST back into the corresponding setter on the same png_struct/png_info pair causes the setter to read from freed memory and copy its contents into the replacement buffer. The setter frees the internal buffer before copying from the caller-supplied pointer, which now dangles. The freed region may contain stale data (producing silently corrupted chunk metadata) or data from subsequent heap allocations (leaking unrelated heap contents into the chunk struct). This vulnerability is fixed in 1.6.57.
Products: pnggroup libpng
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.20 | libpng | 1.6.57-r0 |
| Alpine 3.21 | libpng | 1.6.57-r0 |
| Alpine 3.22 | libpng | 1.6.57-r0 |
| Alpine 3.23 | libpng | 1.6.57-r0 |
| Alpine 3.24 | libpng | 1.6.57-r0 |
| Amazon Linux 2 | libpng | 2:1.5.13-8.amzn2.0.9 |
| Amazon Linux 2 | libpng-devel | 2:1.5.13-8.amzn2.0.9 |
| Amazon Linux 2 | libpng-static | 2:1.5.13-8.amzn2.0.9 |
| Amazon Linux 2023 | libpng | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux 2023 | libpng-devel | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux 2023 | libpng-static | 2:1.6.37-10.amzn2023.0.13 |
| Amazon Linux 2023 | libpng-tools | 2:1.6.37-10.amzn2023.0.13 |
| Chainguard | libpng | 1.6.57-r0 |
| Debian 12 | libpng1.6 | 1.6.39-2+deb12u5 |
| Debian 13 | libpng1.6 | 1.6.48-1+deb13u5 |
| Debian 14 | libpng1.6 | 1.6.57-1 |
| Red Hat hummingbird 1 | libpng | 0:1.6.57-0.1.hum1 |
| Red Hat hummingbird 1 | libpng-devel | 0:1.6.57-0.1.hum1 |
| Red Hat hummingbird 1 | libpng-static | 0:1.6.57-0.1.hum1 |
| Red Hat hummingbird 1 | libpng-tools | 0:1.6.57-0.1.hum1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | libpng16 | 1.6.40-150600.3.20.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | libpng15 | 1.5.22-10.10.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | libpng15 | 1.5.22-10.10.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | libpng16 | 1.6.8-15.24.1 |
| SUSE Linux Micro 6.0 | libpng16 | 1.6.43-5.1 |
| SUSE Linux Micro 6.0 | libpng16 | 1.6.58-1.1 |
| SUSE Linux Micro 6.1 | libpng16 | 1.6.43-slfo.1.1_5.1 |
| SUSE Linux Micro 6.1 | libpng16 | 1.6.58-slfo.1.1_1.1 |
| SUSE Linux Micro 6.2 | libpng16 | 1.6.44-160000.7.1 |
| Ubuntu 22.04 LTS | libpng1.6 | 1.6.37-3ubuntu0.5 |
| Ubuntu 22.04 LTS | libpng1.6 | 1.6.37-3ubuntu0.6 |
| Ubuntu 24.04 LTS | libpng1.6 | 1.6.43-5ubuntu0.6 |
| Ubuntu 25.10 | libpng1.6 | 1.6.50-1ubuntu0.5 |
| 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 |
| Wolfi | libpng | 1.6.57-r0 |
| openSUSE Leap 16.0 | libpng16 | 1.6.44-160000.7.1 |
| openSUSE Tumbleweed | libpng12 | 1.2.59-5.1 |
| openSUSE Tumbleweed | libpng16 | 1.6.57-1.1 |