Home / Swi-prolog / Swi-prolog / CVE-2011-2896
CVE-2011-2896: is it exploited, and which versions of Swi-prolog are affected and fixed?
CVE-2011-2896 is an out-of-bounds write (memory corruption) vulnerability in Swi-prolog. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: swi-prolog through 5.10.4, cups through 1.4.6 and gimp through 2.6.11 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.1, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is 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 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.
From the CVE record by redhat, last updated August 6, 2024, 23:15 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| swi-prolog | swi-prolog | through 5.10.4 | application |
| apple | cups | through 1.4.6 | application |
| gimp | gimp | through 2.6.11 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:32 UTC.
How severe is CVE-2011-2896?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2011-2896 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 12.7% probability of exploitation activity in the next 30 days, percentile 96.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- DSA-2426 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2011-11318 vendor-advisory, x_refsource_FEDORA
- GLSA-201209-23 vendor-advisory, x_refsource_GENTOO
- http://cups.org/str.php?L3867 x_refsource_CONFIRM
- [oss-security] 20110810 LZW decompression issues mailing-list, x_refsource_MLIST
- USN-1207-1 vendor-advisory, x_refsource_UBUNTU
- https://bugzilla.redhat.com/show_bug.cgi?id=727800 x_refsource_CONFIRM
- RHSA-2012:1180 vendor-advisory, x_refsource_REDHAT
- 48308 third-party-advisory, x_refsource_SECUNIA
- DSA-2354 vendor-advisory, x_refsource_DEBIAN
- 45948 third-party-advisory, x_refsource_SECUNIA
- RHSA-2012:1181 vendor-advisory, x_refsource_REDHAT
- 46024 third-party-advisory, x_refsource_SECUNIA
- 45900 third-party-advisory, x_refsource_SECUNIA
- RHSA-2011:1635 vendor-advisory, x_refsource_REDHAT
- FEDORA-2011-11221 vendor-advisory, x_refsource_FEDORA
- FEDORA-2011-11173 vendor-advisory, x_refsource_FEDORA
- https://bugzilla.redhat.com/show_bug.cgi?id=730338 x_refsource_CONFIRM
- 49148 vdb-entry, x_refsource_BID
- MDVSA-2011:146 vendor-advisory, x_refsource_MANDRIVA
- http://www.swi-prolog.org/bugzilla/show_bug.cgi?id=7#c4 x_refsource_CONFIRM
- FEDORA-2011-11305 vendor-advisory, x_refsource_FEDORA
- USN-1214-1 vendor-advisory, x_refsource_UBUNTU
- 50737 third-party-advisory, x_refsource_SECUNIA
- http://git.gnome.org/browse/gimp/commit/?id=376ad788c1a1c31d40f18494889c383f6909ebfc x_refsource_CONFIRM
- MDVSA-2011:167 vendor-advisory, x_refsource_MANDRIVA
- FEDORA-2011-11197 vendor-advisory, x_refsource_FEDORA
- FEDORA-2011-11229 vendor-advisory, x_refsource_FEDORA
- 48236 third-party-advisory, x_refsource_SECUNIA
- 1025929 vdb-entry, x_refsource_SECTRACK
- 45621 third-party-advisory, x_refsource_SECUNIA
- 45945 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- July 27, 2011
- Published
- August 19, 2011, 17:00 UTC
- CVE record updated
- August 6, 2024, 23:15 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:32 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Swi-prolog?
- Dec 14, 2017CVE-2017-17524 Swi-prolog: injection
- Jan 4, 2013CVE-2012-6090 Swi-prolog: memory corruption (buffer overflow)
- Jan 4, 2013CVE-2012-6089 Swi-prolog: memory corruption (buffer overflow)
Questions about CVE-2011-2896
Is CVE-2011-2896 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 12.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Swi-prolog are affected by CVE-2011-2896?
swi-prolog through 5.10.4, cups through 1.4.6 and gimp through 2.6.11, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2011-2896?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2011-2896?
Medium (5.1, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2011-2896?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.