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…
Check your servers for CVE-2011-2896
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2011-2896 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Exploitation
EPSS 12.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.9% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2011-2896 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2011-2896RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2011-2896Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2011-2896
trivy image --scanners vuln IMAGE | grep CVE-2011-2896
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- DSA-2426 debian.org · vendor advisory
- FEDORA-2011-11318 lists.fedoraproject.org · vendor advisory
- GLSA-201209-23 security.gentoo.org · vendor advisory
- http://cups.org/str.php?L3867 cups.org
- USN-1207-1 ubuntu.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=727800 bugzilla.redhat.com
- RHSA-2012:1180 rhn.redhat.com · vendor advisory
- 48308 secunia.com · third party advisory
- DSA-2354 debian.org · vendor advisory
- 45948 secunia.com · third party advisory
- RHSA-2012:1181 rhn.redhat.com · vendor advisory
- 46024 secunia.com · third party advisory
17 more
- 45900 secunia.com · third party advisory
- RHSA-2011:1635 redhat.com · vendor advisory
- FEDORA-2011-11221 lists.fedoraproject.org · vendor advisory
- FEDORA-2011-11173 lists.fedoraproject.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=730338 bugzilla.redhat.com
- MDVSA-2011:146 mandriva.com · vendor advisory
- http://www.swi-prolog.org/bugzilla/show_bug.cgi?id=7#c4 swi-prolog.org
- FEDORA-2011-11305 lists.fedoraproject.org · vendor advisory
- USN-1214-1 ubuntu.com · vendor advisory
- 50737 secunia.com · third party advisory
- http://git.gnome.org/browse/gimp/commit/?id=376ad788c1a1c31d40f18494889c383f6909ebfc git.gnome.org
- MDVSA-2011:167 mandriva.com · vendor advisory
- FEDORA-2011-11197 lists.fedoraproject.org · vendor advisory
- FEDORA-2011-11229 lists.fedoraproject.org · vendor advisory
- 48236 secunia.com · third party advisory
- 45621 secunia.com · third party advisory
- 45945 secunia.com · third party advisory
Other references
- [oss-security] 20110810 LZW decompression issues openwall.com · mailing list
- 49148 securityfocus.com · vdb entry
- 1025929 securitytracker.com · vdb entry
Source: the record CVE-2011-2896 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse