CVE-2011-2895
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.
Key facts
- CVSS score
- 9.3 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-119
- EPSS score
- 8.4% (95th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2011-2868)
- Published
- August 19, 2011
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2011-2868 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.
View on the EU Vulnerability DatabaseAffected products
- freebsd / freebsd
- freetype / freetype
- netbsd / netbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- openbsd / openbsd
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
- x / libxfont
References
- http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0(Patch)
- http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html(Patch)
- http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html(Patch)
- http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html
- http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html
- http://secunia.com/advisories/45544(Vendor Advisory)
- http://secunia.com/advisories/45568(Vendor Advisory)
- http://secunia.com/advisories/45599(Vendor Advisory)
- http://secunia.com/advisories/45986
- http://secunia.com/advisories/46127
- http://secunia.com/advisories/48951
- http://securitytracker.com/id?1025920
- http://support.apple.com/kb/HT5130
- http://support.apple.com/kb/HT5281
- http://www.debian.org/security/2011/dsa-2293
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:153
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17
- http://www.openwall.com/lists/oss-security/2011/08/10/10
- http://www.redhat.com/support/errata/RHSA-2011-1154.html(Vendor Advisory)
- http://www.redhat.com/support/errata/RHSA-2011-1155.html(Vendor Advisory)
- http://www.redhat.com/support/errata/RHSA-2011-1161.html(Vendor Advisory)
- http://www.redhat.com/support/errata/RHSA-2011-1834.html
- http://www.securityfocus.com/bid/49124
- http://www.ubuntu.com/usn/USN-1191-1
- https://bugzilla.redhat.com/show_bug.cgi?id=725760(Patch)
- https://bugzilla.redhat.com/show_bug.cgi?id=727624
- https://exchange.xforce.ibmcloud.com/vulnerabilities/69141
- https://support.apple.com/HT205635
- https://support.apple.com/HT205637
- https://support.apple.com/HT205640
- https://support.apple.com/HT205641
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain