CVE-2011-2896
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 12.0% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 12.0% in the next 30 days (EPSS).
- Severity: 5.1 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 12.0% · EPSS, next 30 days
- Weakness
- CWE-787 · Out-of-bounds write
- Record status
- Modified
Affected
- swi-prolog ≤ 5.10.4
- Apple Cups ≤ 1.4.6
- Gimp ≤ 2.6.11
Attack profile CVSS 2.0 · 5.1
- Attack vector
- Network
- Complexity
- High
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:H/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-2896.md and follow it. Check whether this project is affected by CVE-2011-2896. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://cups.org/str.php?L3867
- http://git.gnome.org/browse/gimp/commit/?id=376ad788c1a1c31d40f18494889c383f6909ebfc
- http://www.openwall.com/lists/oss-security/2011/08/10/10
- https://bugzilla.redhat.com/show_bug.cgi?id=727800
- http://cups.org/str.php?L3867
- http://git.gnome.org/browse/gimp/commit/?id=376ad788c1a1c31d40f18494889c383f6909ebfc
- http://www.openwall.com/lists/oss-security/2011/08/10/10
- https://bugzilla.redhat.com/show_bug.cgi?id=727800
References
- http://cups.org/str.php?L3867
- http://git.gnome.org/browse/gimp/commit/?id=376ad788c1a1c31d40f18494889c383f6909ebfc
- http://lists.fedoraproject.org/pipermail/package-announce/2011-August/064600.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-August/064873.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065527.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065539.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065550.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065651.html
- http://rhn.redhat.com/errata/RHSA-2012-1180.html
- http://rhn.redhat.com/errata/RHSA-2012-1181.html
- http://secunia.com/advisories/45621
- http://secunia.com/advisories/45900
- http://secunia.com/advisories/45945
- http://secunia.com/advisories/45948
- http://secunia.com/advisories/46024
- http://secunia.com/advisories/48236
- http://secunia.com/advisories/48308
- http://secunia.com/advisories/50737
- http://security.gentoo.org/glsa/glsa-201209-23.xml
- http://www.debian.org/security/2011/dsa-2354
- http://www.debian.org/security/2012/dsa-2426
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:146
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:167
- http://www.openwall.com/lists/oss-security/2011/08/10/10
- http://www.redhat.com/support/errata/RHSA-2011-1635.html