Skip to content

CVE-2011-2896 The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF decoder in PBMPLUS, as used in the gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, the LZWReadB...

MediumCVSS 5.1 EPSS 12.0%
Published
Updated
Exploit status
No public exploit known

Description

The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF decoder in PBMPLUS, as used in the gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, the LZWReadByte function in plug-ins/common/file-gif-load.c in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c in XPCE in SWI-Prolog 5.10.4 and earlier, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows remote attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2895.

Affected products

ProductAffected versionsFixed in
ubuntu/swi-prolog(Ubuntu:22.04) All versions No fix listed
debian/cups(Debian:12) < 1.5.0-8 1.5.0-8
debian/cups(Debian:13) < 1.5.0-8 1.5.0-8
debian/cups(Debian:14) < 1.5.0-8 1.5.0-8
debian/gimp(Debian:12) < 2.6.11-5 2.6.11-5
debian/gimp(Debian:13) < 2.6.11-5 2.6.11-5
debian/gimp(Debian:14) < 2.6.11-5 2.6.11-5
swi-prolog <= 5.10.4 No fix listed
apple cups <= 1.4.6 No fix listed
gimp <= 2.6.11 No fix listed
ubuntu/swi-prolog(Ubuntu:24.04) All versions No fix listed
ubuntu/swi-prolog(Ubuntu:26.04) All versions No fix listed
ubuntu/swi-prolog(Ubuntu:26.10) All versions No fix listed

References