{"id":"CVE-2011-2895","state":"PUBLISHED","title":"The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as used in zopen.c in Open","description":"The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as used in zopen.c in OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x before 5.1.1, FreeType 2.1.9, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows context-dependent 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-2896.","publishedAt":"2011-08-19T17:00:00.000Z","updatedAt":"2024-08-06T23:15:31.486Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://support.apple.com/HT205635","http://www.redhat.com/support/errata/RHSA-2011-1154.html","http://www.ubuntu.com/usn/USN-1191-1","http://www.openwall.com/lists/oss-security/2011/08/10/10","https://bugzilla.redhat.com/show_bug.cgi?id=725760","http://secunia.com/advisories/45544","https://support.apple.com/HT205637","http://support.apple.com/kb/HT5130","http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html","http://www.mandriva.com/security/advisories?name=MDVSA-2011:153","http://www.securityfocus.com/bid/49124","http://secunia.com/advisories/45599","http://www.redhat.com/support/errata/RHSA-2011-1155.html","http://securitytracker.com/id?1025920","http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html","http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html","http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html","http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html","http://secunia.com/advisories/46127","http://secunia.com/advisories/45986","http://www.redhat.com/support/errata/RHSA-2011-1161.html","http://www.redhat.com/support/errata/RHSA-2011-1834.html","http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17","https://exchange.xforce.ibmcloud.com/vulnerabilities/69141","http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html","http://secunia.com/advisories/45568","http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html","https://support.apple.com/HT205641","http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc","https://support.apple.com/HT205640","http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0","http://secunia.com/advisories/48951","http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html","http://support.apple.com/kb/HT5281","http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","http://www.debian.org/security/2011/dsa-2293","https://bugzilla.redhat.com/show_bug.cgi?id=727624"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:59.387Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2011/2xxx/CVE-2011-2895.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2011-2895","state":"PUBLISHED","datePublished":"2011-08-19T17:00:00.000Z","dateUpdated":"2024-08-06T23:15:31.486Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2011-07-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as used in zopen.c in OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x before 5.1.1, FreeType 2.1.9, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows context-dependent 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-2896."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://support.apple.com/HT205635","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1154.html","name":"RHSA-2011:1154","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ubuntu.com/usn/USN-1191-1","name":"USN-1191-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/10/10","name":"[oss-security] 20110810 LZW decompression issues","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=725760","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/45544","name":"45544","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://support.apple.com/HT205637","tags":["x_refsource_CONFIRM"]},{"url":"http://support.apple.com/kb/HT5130","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html","name":"APPLE-SA-2015-12-08-4","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:153","name":"MDVSA-2011:153","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.securityfocus.com/bid/49124","name":"49124","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/45599","name":"45599","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1155.html","name":"RHSA-2011:1155","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://securitytracker.com/id?1025920","name":"1025920","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html","name":"openSUSE-SU-2011:1299","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html","name":"APPLE-SA-2015-12-08-3","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html","name":"SUSE-SU-2011:1035","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","name":"APPLE-SA-2012-02-01-1","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html","name":"[xorg-announce] 20110810 X.Org security advisory: libXfont LZW decompression heap corruption","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/46127","name":"46127","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/45986","name":"45986","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1161.html","name":"RHSA-2011:1161","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1834.html","name":"RHSA-2011:1834","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69141","name":"xorg-lzw-bo(69141)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html","name":"APPLE-SA-2015-12-08-1","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://secunia.com/advisories/45568","name":"45568","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html","name":"[xorg-announce] 20110810 [ANNOUNCE] libXfont 1.4.4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://support.apple.com/HT205641","tags":["x_refsource_CONFIRM"]},{"url":"http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc","name":"NetBSD-SA2011-007","tags":["vendor-advisory","x_refsource_NETBSD"]},{"url":"https://support.apple.com/HT205640","tags":["x_refsource_CONFIRM"]},{"url":"http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/48951","name":"48951","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html","name":"APPLE-SA-2015-12-08-2","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://support.apple.com/kb/HT5281","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","name":"APPLE-SA-2012-05-09-1","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.debian.org/security/2011/dsa-2293","name":"DSA-2293","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=727624","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2011-08-10T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://support.apple.com/HT205635","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1154.html","name":"RHSA-2011:1154","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1191-1","name":"USN-1191-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/10/10","name":"[oss-security] 20110810 LZW decompression issues","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=725760","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/45544","name":"45544","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://support.apple.com/HT205637","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://support.apple.com/kb/HT5130","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html","name":"APPLE-SA-2015-12-08-4","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:153","name":"MDVSA-2011:153","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/49124","name":"49124","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/45599","name":"45599","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1155.html","name":"RHSA-2011:1155","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://securitytracker.com/id?1025920","name":"1025920","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html","name":"openSUSE-SU-2011:1299","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html","name":"APPLE-SA-2015-12-08-3","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html","name":"SUSE-SU-2011:1035","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","name":"APPLE-SA-2012-02-01-1","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html","name":"[xorg-announce] 20110810 X.Org security advisory: libXfont LZW decompression heap corruption","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://secunia.com/advisories/46127","name":"46127","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/45986","name":"45986","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1161.html","name":"RHSA-2011:1161","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1834.html","name":"RHSA-2011:1834","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69141","name":"xorg-lzw-bo(69141)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html","name":"APPLE-SA-2015-12-08-1","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://secunia.com/advisories/45568","name":"45568","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html","name":"[xorg-announce] 20110810 [ANNOUNCE] libXfont 1.4.4","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://support.apple.com/HT205641","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc","name":"NetBSD-SA2011-007","tags":["vendor-advisory","x_refsource_NETBSD","x_transferred"]},{"url":"https://support.apple.com/HT205640","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/48951","name":"48951","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html","name":"APPLE-SA-2015-12-08-2","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://support.apple.com/kb/HT5281","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","name":"APPLE-SA-2012-05-09-1","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.debian.org/security/2011/dsa-2293","name":"DSA-2293","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=727624","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T23:15:31.486Z"}}]}}}