Description
Integer overflow in the rwpng_read_image24_libpng function in rwpng.c in pngquant 2.7.0 allows remote attackers to have unspecified impact via a crafted PNG file, which triggers a buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pngquant | 2.5.0-2 | — |
| Debian 13 | pngquant | 2.5.0-2 | — |
| Debian 12 | pngquant | 2.5.0-2 | — |
| Debian 8 | pngquant | 2.3.0-1+deb8u1 | DLA-2257-1 |
| Debian 7 | pngquant | 1.0-4.1+deb7u1 | DLA-966-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | pngquant | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libpng16 | 1.6.37-3.3 | openSUSE-SU-2024:10972-1 |
Advisories 3
- DLA-966-1 pngquant - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2257-1 pngquant - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10972-1 libpng16-16-1.6.37-3.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026