Description
An issue was discovered in apng2gif 1.7. There is an integer overflow resulting in a heap-based buffer overflow. This is related to the read_chunk function making an unchecked addition of 12.
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 | apng2gif | 1.8-0.1 | — |
| Debian 13 | apng2gif | 1.8-0.1 | — |
| Debian 12 | apng2gif | 1.8-0.1 | — |
| Debian 9 | apng2gif | 1.8-0.1~deb9u1 | DLA-2911-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | apng2gif | 1.8-0.1 | — |
| Ubuntu 18.04 LTS | apng2gif | No fix yet | — |
Advisories 1
- DLA-2911-1 apng2gif - security update Debian Security (DSA / DLA) · Mar 9, 2026