Description
Stack-based buffer overflow in the gif_next_LZW function in libnsgif.c in Libnsgif 0.1.2 allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted LZW stream in a GIF file.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Libnsgif | 0.1.2 | — |
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 | netsurf | 3.2+dfsg-3 | — |
| Debian 13 | netsurf | 3.2+dfsg-3 | — |
| Debian 12 | netsurf | 3.2+dfsg-3 | — |