{"id":"CVE-2011-2895","url":"https://www.cyber-defence.io/tools/cve/CVE-2011-2895","generatedAt":"2026-10-27T18:46:45.215Z","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 OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x…","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.","published":"2011-08-19T17:55:03.000Z","lastModified":"2026-06-16T23:32:12.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":9.3,"severity":"HIGH","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C"},"cwe":["CWE-119"],"affected":["freetype/freetype","x/libxfont","freebsd/freebsd","netbsd/netbsd","openbsd/openbsd"],"epss":{"score":0.08355,"percentile":0.94922,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (8.36%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc","source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html","source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html","source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html","source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html","source":"secalert@redhat.com"},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/45544","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/45568","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/45599","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/45986","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/46127","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/48951","source":"secalert@redhat.com"},{"url":"http://securitytracker.com/id?1025920","source":"secalert@redhat.com"},{"url":"http://support.apple.com/kb/HT5130","source":"secalert@redhat.com"},{"url":"http://support.apple.com/kb/HT5281","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2011/dsa-2293","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:153","source":"secalert@redhat.com"},{"url":"http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2011/08/10/10","source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1154.html","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1155.html","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1161.html","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1834.html","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/49124","source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-1191-1","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=725760","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=727624","source":"secalert@redhat.com"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69141","source":"secalert@redhat.com"},{"url":"https://support.apple.com/HT205635","source":"secalert@redhat.com"},{"url":"https://support.apple.com/HT205637","source":"secalert@redhat.com"},{"url":"https://support.apple.com/HT205640","source":"secalert@redhat.com"},{"url":"https://support.apple.com/HT205641","source":"secalert@redhat.com"},{"url":"http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/45544","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/45568","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/45599","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/45986","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/46127","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/48951","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securitytracker.com/id?1025920","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT5130","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT5281","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2011/dsa-2293","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-2895","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}