Description
gifread.c in gif2png, as used in OptiPNG before 0.7.6, allows remote attackers to cause a denial of service (uninitialized memory read) via a crafted GIF 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 | — |
| Debian 13 | optipng | 0.7.6-1 | — |
| Debian 12 | optipng | 0.7.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | optipng | 0.6.4-1ubuntu0.14.04.1 | USN-2951-1 |
Advisories 1
- USN-2951-1 optipng vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026