Description
Giflib Project v5.2.2 is vulnerable to a heap buffer overflow via gif2rgb.
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 | giflib | 6.1.3-1 | — |
| Debian 13 | giflib | No fix yet | — |
| Debian 12 | giflib | No fix yet | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | giflib +2 | 5.2.1-9.amzn2023.0.2 | ALAS2023-2025-1220 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | giflib +3 | 6.1.2-r0 | — |
Advisories 1
- ALAS2023-2025-1220 Moderate: giflib security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 14, 2025