Description
A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.
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 | optipng | 0.7.6-1.1 | — |
| Debian 13 | optipng | 0.7.6-1.1 | — |
| Debian 12 | optipng | 0.7.6-1.1 | — |
| Debian 9 | optipng | 0.7.6-1+deb9u1 | DSA-4058-1 |
| Debian 8 | optipng | 0.7.5-1+deb8u2 | DSA-4058-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | optipng | 0.6.4-1+deb7u4 | DLA-1196-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | optipng | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | optipng | 0.7.7-2.3 | openSUSE-SU-2024:11131-1 |
Advisories 3
- DSA-4058-1 optipng - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1196-1 optipng - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11131-1 optipng-0.7.7-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [debian-lts-announce] 20171130 [SECURITY] [DLA 1196-1] optipng security update mailing-list
- DSA-4058 vendor-advisory
- https://sourceforge.net/p/optipng/bugs/69/
- GLSA-201801-02 vendor-advisory