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.
CVSS Details
- CVSS 3.1 Base Score: 5.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade libpng | Apr 13, 2026 | Apr 9, 2026 |
| Amazon Linux Ami 2 | — | Upgrade libpng-staticUpgrade libpngUpgrade libpng-develUpgrade libpng-debuginfo | May 20, 2026 | May 20, 2026 |
| Amazon_linux_2023 | — | Upgrade libpng-staticUpgrade libpng-debugsourceUpgrade libpng-devel-debuginfoUpgrade libpngUpgrade libpng-toolsUpgrade libpng-tools-debuginfoUpgrade libpng-develUpgrade libpng-debuginfo | May 19, 2026 | Apr 9, 2026 |
| Debian | — | Upgrade libpng1.6 | May 10, 2026 | May 10, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Apr 9, 2026 |
| Ubuntu | — | Upgrade libpng-dev (Ubuntu Pro)Upgrade libpng12-dev (Ubuntu Pro)Upgrade libpng16-16 (Ubuntu Pro)Upgrade libpng-devUpgrade libpng-tools (Ubuntu Pro)Upgrade libpng16-16t64Upgrade libpng16-devtools (Ubuntu Pro)Upgrade libpng3 (Ubuntu Pro)Upgrade libpng16-dev (Ubuntu Pro)Upgrade libpng16-tools (Ubuntu Pro)Upgrade libpng16-16Upgrade libpng12-0 (Ubuntu Pro)Upgrade libpng-tools | May 7, 2026 | Apr 9, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jun 22, 2026 | Apr 9, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub