The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Partial Red Hat: 12 fixed, 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:swi-prolog:swi-prolog:*:*:*:*:*:*:*:* | up to 5.10.4 | Vulnerable | Swi-prolog |
| cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:* | up to 1.4.6 | Vulnerable | Apple |
| cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:* | up to 2.6.11 | Vulnerable | GIMP |
- cpe:2.3:a:swi-prolog:swi-prolog:*:*:*:*:*:*:*:* Versions up to 5.10.4 Vulnerable ·Swi-prolog
- cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:* Versions up to 1.4.6 Vulnerable ·Apple
- cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:* Versions up to 2.6.11 Vulnerable ·GIMP
Remediation
Red Hat 4 advisories
- RHSA-2012:1181 Released 2012-08-20 · Red Hat rating Moderategimp security update
- RHEL Desktop Workstation (v. 5 client) gimp-2:2.2.13-2.0.7.el5_8.5, gimp-devel-2:2.2.13-2.0.7.el5_8.5, gimp-devel-2:2.2.13-2.0.7.el5_8.5.i386
- Red Hat Enterprise Linux (v. 5 server) gimp-2:2.2.13-2.0.7.el5_8.5, gimp-2:2.2.13-2.0.7.el5_8.5.i386, gimp-2:2.2.13-2.0.7.el5_8.5.ia64 +9
- Red Hat Enterprise Linux Desktop (v. 5 client) gimp-2:2.2.13-2.0.7.el5_8.5, gimp-2:2.2.13-2.0.7.el5_8.5.i386, gimp-libs-2:2.2.13-2.0.7.el5_8.5 +1
- RHSA-2012:1180 Released 2012-08-20 · Red Hat rating Moderategimp security update
- Red Hat Enterprise Linux Desktop (v. 6) gimp-2:2.6.9-4.el6_3.3, gimp-help-browser-2:2.6.9-4.el6_3.3, gimp-libs-2:2.6.9-4.el6_3.3
- Red Hat Enterprise Linux Desktop Optional (v. 6) gimp-2:2.6.9-4.el6_3.3, gimp-devel-2:2.6.9-4.el6_3.3, gimp-devel-tools-2:2.6.9-4.el6_3.3 +1
- Red Hat Enterprise Linux Server (v. 6) gimp-2:2.6.9-4.el6_3.3, gimp-help-browser-2:2.6.9-4.el6_3.3, gimp-libs-2:2.6.9-4.el6_3.3
- Red Hat Enterprise Linux Server Optional (v. 6) gimp-2:2.6.9-4.el6_3.3, gimp-devel-2:2.6.9-4.el6_3.3, gimp-devel-2:2.6.9-4.el6_3.3.ppc +3
- Red Hat Enterprise Linux Workstation (v. 6) gimp-2:2.6.9-4.el6_3.3, gimp-help-browser-2:2.6.9-4.el6_3.3, gimp-libs-2:2.6.9-4.el6_3.3
- Red Hat Enterprise Linux Workstation Optional (v. 6) gimp-2:2.6.9-4.el6_3.3, gimp-devel-2:2.6.9-4.el6_3.3, gimp-devel-tools-2:2.6.9-4.el6_3.3 +1
- RHSA-2012:0302 Released 2012-02-21 · Red Hat rating Lowcups security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) cups-1:1.3.7-30.el5, cups-1:1.3.7-30.el5.i386, cups-1:1.3.7-30.el5.ia64 +13
- Red Hat Enterprise Linux Desktop (v. 5 client) cups-1:1.3.7-30.el5, cups-1:1.3.7-30.el5.i386, cups-libs-1:1.3.7-30.el5 +3
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) cups-1:1.3.7-30.el5, cups-devel-1:1.3.7-30.el5, cups-devel-1:1.3.7-30.el5.i386
Show 1 more Red Hat advisories
- RHSA-2011:1635 Released 2011-12-05 · Red Hat rating Lowcups security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) cups-1:1.4.2-44.el6, cups-libs-1:1.4.2-44.el6, cups-lpd-1:1.4.2-44.el6
- Red Hat Enterprise Linux Desktop Optional (v. 6) cups-1:1.4.2-44.el6, cups-devel-1:1.4.2-44.el6, cups-php-1:1.4.2-44.el6
- Red Hat Enterprise Linux HPC Node (v. 6) cups-1:1.4.2-44.el6, cups-libs-1:1.4.2-44.el6, cups-lpd-1:1.4.2-44.el6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) cups-1:1.4.2-44.el6, cups-devel-1:1.4.2-44.el6, cups-php-1:1.4.2-44.el6
- Red Hat Enterprise Linux Server (v. 6) cups-1:1.4.2-44.el6, cups-devel-1:1.4.2-44.el6, cups-devel-1:1.4.2-44.el6.ppc +3
- Red Hat Enterprise Linux Server Optional (v. 6) cups-1:1.4.2-44.el6, cups-php-1:1.4.2-44.el6
- Red Hat Enterprise Linux Workstation (v. 6) cups-1:1.4.2-44.el6, cups-devel-1:1.4.2-44.el6, cups-libs-1:1.4.2-44.el6 +1
- Red Hat Enterprise Linux Workstation Optional (v. 6) cups-1:1.4.2-44.el6, cups-php-1:1.4.2-44.el6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| RHEL Desktop Workstation (v. 5 client) | Fixed | RHSA-2012:1181 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2012:0302, RHSA-2012:1181 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2012:0302, RHSA-2012:1181 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2011:1635, RHSA-2012:1180 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2011:1635, RHSA-2012:1180 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2012:0302 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2011:1635 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2011:1635 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2011:1635, RHSA-2012:1180 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2011:1635, RHSA-2012:1180 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2011:1635, RHSA-2012:1180 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2011:1635, RHSA-2012:1180 |
Not affected: 3 products
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2011-2896
- 2026-10-03 Alias added: GHSA-46mw-xwc9-f8hc
References
Patch 4
Advisory 18
- DSA-2426
- FEDORA-2011-11318
- GLSA-201209-23
- USN-1207-1
- RHSA-2012:1180
- DSA-2354
- RHSA-2012:1181
- RHSA-2011:1635
- FEDORA-2011-11221
- FEDORA-2011-11173
- https://bugzilla.redhat.com/show_bug.cgi?id=730338
- MDVSA-2011:146
- http://www.swi-prolog.org/bugzilla/show_bug.cgi?id=7#c4
- FEDORA-2011-11305
- USN-1214-1
- MDVSA-2011:167
- FEDORA-2011-11197
- FEDORA-2011-11229
Sources
- CVE-2011-2896 · CVE Program
- CVE-2011-2896 · NVD
- FIRST EPSS
- GHSA-46mw-xwc9-f8hc · GitHub Advisory Database · CC BY 4.0
- CVE-2011-2896 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences