CVE-2011-2896
CVE-2011-2896 is a medium-severity vulnerability in Swi-prolog with a CVSS 2.0 base score of 5.1. Its EPSS exploit-prediction score of 13% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.1)
- EPSS exploit prediction: 13% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Swi-prolog
- Published:
- Last modified:
Description
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.
Frequently asked questions
- 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.
- How severe is CVE-2011-2896?
- CVE-2011-2896 has a CVSS 2.0 base score of 5.1, rated medium severity.
- Is CVE-2011-2896 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 13% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2011-2896?
- CVE-2011-2896 primarily affects Swi-prolog. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2011-2896?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2011-2896 published?
- CVE-2011-2896 was published on 2011-08-19 and last updated on 2026-06-16.
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
- http://www.securityfocus.com/bid/49148
- http://www.securitytracker.com/id?1025929
- http://www.swi-prolog.org/bugzilla/show_bug.cgi?id=7#c4
- http://www.ubuntu.com/usn/USN-1207-1
- http://www.ubuntu.com/usn/USN-1214-1
Affected products (3)
- cpe:2.3:a:swi-prolog:swi-prolog:*:*:*:*:*:*:*:*
- cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:*
- cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*
More vulnerabilities in Swi-prolog
- CVE-2017-17524 — High (CVSS 8.8): library/www_browser.pl in SWI-Prolog 7.2.3 does not validate strings before launching the program specified by the…
- CVE-2012-6090 — High (CVSS 7.5): Multiple stack-based buffer overflows in the expand function in os/pl-glob.c in SWI-Prolog before 6.2.5 and 6.3.x…
- CVE-2012-6089 — High (CVSS 7.5): Multiple stack-based buffer overflows in the canoniseFileName function in os/pl-os.c in SWI-Prolog before 6.2.5 and…
All CVEs affecting Swi-prolog →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…