Skip to content
OpenAdvisories
Unscored CVE-2011-2896 EUVD-2011-2869GHSA-46mw-xwc9-f8hc

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 func…

Published Aug 19, 2011 · Updated Aug 6, 2024 · Assigned by redhat

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 cups 1.5.0-8 —
Debian 14 gimp 2.6.11-5 —
Debian 13 cups 1.5.0-8 —
Debian 13 gimp 2.6.11-5 —
Debian 12 cups 1.5.0-8 —
Debian 12 gimp 2.6.11-5 —
Debian 6.0 cups 1.4.4-7+squeeze1 DSA-2354-1
Debian 6.0 gimp 2.6.10-1+squeeze3 DSA-2426-1
Debian 5.0 cups 1.3.8-1+lenny10 DSA-2354-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 swi-prolog No fix yet —
Ubuntu 26.04 LTS swi-prolog No fix yet —
Ubuntu 25.10 swi-prolog No fix yet —
Ubuntu 24.04 LTS swi-prolog No fix yet —
Ubuntu 22.04 LTS swi-prolog No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS swi-prolog No fix yet —
Ubuntu 18.04 LTS swi-prolog No fix yet —
Ubuntu 16.04 LTS swi-prolog No fix yet —
ReleasePackageFixed inAdvisory
RHEL 6 cups +4 1:1.4.2-44.el6 RHSA-2011:1635
RHEL 6 gimp +4 2:2.6.9-4.el6_3.3 RHSA-2012:1180
RHEL 5 cups +3 1:1.3.7-30.el5 RHSA-2012:0302
RHEL 5 gimp +2 2:2.2.13-2.0.7.el5_8.5 RHSA-2012:1181
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gimp 2.8.18-1.4 openSUSE-SU-2024:10294-1

Advisories 7

References