the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : 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.
Publish Date : 2011-08-19 Last Update Date : 2017-08-28
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeOverflow
CWE ID 119

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat important
AV:L/AC:M/Au:N/C:C/I:C/A:C 2011-06-20 2011-08-10
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2011-2895 unix
DEPRECATED: ELSA-2011-1154 -- libXfont security update (important) oval:org.mitre.oval:def:28127 unix
DEPRECATED: ELSA-2011:1154: libXfont security update (Important) oval:org.mitre.oval:def:23366 unix
DSA-2293-1 libxfont -- buffer overflow oval:org.mitre.oval:def:14918 unix
ELSA-2011:1154: libXfont security update (Important) oval:org.mitre.oval:def:23404 unix
RHSA-2011:1154: libXfont security update (Important) oval:org.mitre.oval:def:22062 unix
RHSA-2011:1154: libXfont security update (Important) oval:com.redhat.rhsa:def:20111154 unix
RHSA-2011:1155: xorg-x11 security update (Important) oval:com.redhat.rhsa:def:20111155 unix
RHSA-2011:1161: freetype security update (Moderate) oval:com.redhat.rhsa:def:20111161 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2011-2895

# Product Type Vendor Product Version Update Edition Language
1 OS Freebsd Freebsd Version Details Vulnerabilities
2 Application Freetype Freetype 2.1.9 Version Details Vulnerabilities
3 OS Netbsd Netbsd Version Details Vulnerabilities
4 OS Openbsd Openbsd 2.0 Version Details Vulnerabilities
5 OS Openbsd Openbsd 2.1 Version Details Vulnerabilities
6 OS Openbsd Openbsd 2.2 Version Details Vulnerabilities
7 OS Openbsd Openbsd 2.3 Version Details Vulnerabilities
8 OS Openbsd Openbsd 2.4 Version Details Vulnerabilities
9 OS Openbsd Openbsd 2.5 Version Details Vulnerabilities
10 OS Openbsd Openbsd 2.6 Version Details Vulnerabilities
11 OS Openbsd Openbsd 2.7 Version Details Vulnerabilities
12 OS Openbsd Openbsd 2.8 Version Details Vulnerabilities
13 OS Openbsd Openbsd 2.9 Version Details Vulnerabilities
14 OS Openbsd Openbsd 3.0 Version Details Vulnerabilities
15 OS Openbsd Openbsd 3.1 Version Details Vulnerabilities
16 OS Openbsd Openbsd 3.2 Version Details Vulnerabilities
17 OS Openbsd Openbsd 3.3 Version Details Vulnerabilities
18 OS Openbsd Openbsd 3.4 Version Details Vulnerabilities
19 OS Openbsd Openbsd 3.5 Version Details Vulnerabilities
20 OS Openbsd Openbsd 3.6 Version Details Vulnerabilities
21 OS Openbsd Openbsd 3.7 Version Details Vulnerabilities
22 Application X Libxfont 1.2.0 Version Details Vulnerabilities
23 Application X Libxfont 1.2.1 Version Details Vulnerabilities
24 Application X Libxfont 1.2.2 Version Details Vulnerabilities
25 Application X Libxfont 1.2.3 Version Details Vulnerabilities
26 Application X Libxfont 1.2.4 Version Details Vulnerabilities
27 Application X Libxfont 1.2.5 Version Details Vulnerabilities
28 Application X Libxfont 1.2.6 Version Details Vulnerabilities
29 Application X Libxfont 1.2.7 Version Details Vulnerabilities
30 Application X Libxfont 1.2.8 Version Details Vulnerabilities
31 Application X Libxfont 1.2.9 Version Details Vulnerabilities
32 Application X Libxfont 1.3.0 Version Details Vulnerabilities
33 Application X Libxfont 1.3.1 Version Details Vulnerabilities
34 Application X Libxfont 1.3.2 Version Details Vulnerabilities
35 Application X Libxfont 1.3.3 Version Details Vulnerabilities
36 Application X Libxfont 1.3.4 Version Details Vulnerabilities
37 Application X Libxfont 1.4.0 Version Details Vulnerabilities
38 Application X Libxfont 1.4.1 Version Details Vulnerabilities
39 Application X Libxfont 1.4.2 Version Details Vulnerabilities
40 Application X Libxfont 1.4.3 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Freebsd Freebsd 1
Freetype Freetype 1
Netbsd Netbsd 1
Openbsd Openbsd 18
X Libxfont 19

XF xorg-lzw-bo(69141)
REDHAT RHSA-2011:1834
BID 49124 X.Org libXfont LZW Decompression 'BufCompressedFill()' Local Privilege Escalation Vulnerability Release Date:2015-12-17
MLIST [oss-security] 20110810 LZW decompression issues
REDHAT RHSA-2011:1154
REDHAT RHSA-2011:1161
REDHAT RHSA-2011:1155
APPLE APPLE-SA-2012-05-09-1
SUSE openSUSE-SU-2011:1299
SUSE SUSE-SU-2011:1035
MLIST [xorg-announce] 20110810 [ANNOUNCE] libXfont 1.4.4
APPLE APPLE-SA-2015-12-08-4
APPLE APPLE-SA-2015-12-08-3
MLIST [xorg-announce] 20110810 X.Org security advisory: libXfont LZW decompression heap corruption
SECTRACK 1025920
APPLE APPLE-SA-2012-02-01-1
NETBSD NetBSD-SA2011-007

- Metasploit Modules Related To CVE-2011-2895

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.