Tetrak
GitHub ↗
Security

libpng advisories

The reference C library for PNG, used by Pillow, browsers and most image software

15 advisories recorded for libpng (libpng1.6 on Debian); the project is at https://github.com/pnggroup/libpng. Newest first.

PublishedAdvisoryReaches youWhat sillybos does
libpng's push-mode APNG parser misreads a discarded chunk as a header CVE-2026-40930by opening a fileNeeds decoding to detect
Passing a libpng getter's pointer back to its setter reads freed memory CVE-2026-34757through another callNot reached by opening a file
png_set_tRNS and png_set_PLTE share one buffer between two structs CVE-2026-33416through another callNot reached by opening a file
A palette PNG reaches a flaw in libpng's palette handling CVE-2026-33636by opening a fileRefused with a setting
The pnm2png contributed tool overruns a heap buffer CVE-2026-3713through a command-line toolNot reached by opening a file
png_set_quantize loops for ever on some palettes CVE-2026-25646through another callNot reached by opening a file
libpng's pngimage test program leaks memory CVE-2025-28162through a command-line toolNot reached by opening a file
libpng 1.6.43 to 1.6.46 leaks in png_create_read_struct under a sanitiser CVE-2025-28164through another callNot reached by opening a file
libpng's simplified write truncates a row stride and over-reads CVE-2026-22801on a save pathNot reached by opening a file
An interlaced 16-bit PNG overflows a libpng buffer CVE-2026-22695by opening a fileRefused by default
A palette PNG reaches a flaw in libpng's palette handling CVE-2025-66293by opening a fileRefused with a setting
Out-of-range palette indices over-read libpng's quantize table CVE-2025-64505through another callRefused with a setting
libpng's simplified 8-bit write over-reads its row buffer CVE-2025-64506on a save pathNot reached by opening a file
An interlaced 16-bit PNG overflows a libpng buffer CVE-2025-65018by opening a fileRefused by default
A palette PNG reaches a flaw in libpng's palette handling CVE-2025-64720by opening a fileRefused with a setting

Back to the whole watch.