Live threats

All CVEs / Swi-prolog

CVE-2011-2896Swi-prolog

Medium 5.1 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Swi-prolog.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
swi-prologswi-prolog≤ 5.10.4
applecups≤ 1.4.6
gimpgimp≤ 2.6.11

Official sources

References

Links published by the sources. Open them with care.