Description
An issue was discovered in gif2apng 1.9. There is a heap-based buffer overflow vulnerability in the DecodeLZW function. It allows an attacker to write a large amount of arbitrary data outside the boundaries of a buffer.
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 11 | gif2apng | 1.9+srconly-3+deb11u1 | — |
| Debian 9 | gif2apng | 1.9+srconly-2+deb9u2 | DLA-2937-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | gif2apng | 1.9+srconly-3ubuntu0.1 | USN-5969-1 |
| Ubuntu 18.04 LTS | gif2apng | 1.9+srconly-2ubuntu0.1 | USN-5969-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | gif2apng | 1.7-3ubuntu0.1~esm1 | USN-5969-1 |
Advisories 2
- USN-5969-1 gif2apng vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-2937-1 gif2apng - security update Debian Security (DSA / DLA) · Mar 9, 2026