CVE-2011-2896Swi-prolog
Medium 5.1 No auth neededHigh EPSS
Follow: this CVE · Swi-prolog · Swi-prolog We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 2.0
- 5.1
- EPSS
- 12.7% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Aug 19, 2011
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
AV:N/AC:H/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Swi-prolog.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| swi-prolog | swi-prolog | ≤ 5.10.4 |
| apple | cups | ≤ 1.4.6 |
| gimp | gimp | ≤ 2.6.11 |
Official sources
References
Links published by the sources. Open them with care.
- cups.org Patch Third Party Advisory
- git.gnome.org Patch Vendor Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.mandriva.com Broken Link
- www.mandriva.com Broken Link
- www.openwall.com Mailing List Patch Third Party Advisory
- www.redhat.com Broken Link
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.swi-prolog.org Issue Tracking Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory