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.

Published: 2011-08-19 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2011-2895 is rated High Risk (71.5/100): CVSS Critical severity, with high exploitation likelihood (EPSS 8.36%, 94th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +1.34% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2011-2895

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 7.02% 8.36% +1.34%
2 2026-02-05 7.20% 7.02% -0.18%
3 2026-01-23 7.20%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2011-2895

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.3 2.0 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
8.6 10.0 [email protected]

Weakness enumeration for CVE-2011-2895

OS Trackers for CVE-2011-2895

vendor priority summary link
debian not yet assigned CVE-2011-2895 not yet assigned priority: Debian including 1 source packages (libxfont), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2011-2895
gentoo high CVE-2011-2895: 1 GLSA(s) (201402-23), 1 atom(s) (x11-libs/libXfont); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2011-2895
redhat high https://access.redhat.com/security/cve/CVE-2011-2895
ubuntu medium CVE-2011-2895 medium priority: Ubuntu including 1 source packages (libxfont), 5 status rows across 5 suites (hardy, lucid, maverick, natty, upstream): released 4, ignored 1. https://ubuntu.com/security/CVE-2011-2895

Affected software / configurations for CVE-2011-2895

Vendor Product Version Raw CPE
freetype freetype 2.1.9 cpe:2.3:a:freetype:freetype:2.1.9:*:*:*:*:*:*:*
x libxfont <= 1.4.3 cpe:2.3:a:x:libxfont:*:*:*:*:*:*:*:*
x libxfont 1.2.0 cpe:2.3:a:x:libxfont:1.2.0:*:*:*:*:*:*:*
x libxfont 1.2.1 cpe:2.3:a:x:libxfont:1.2.1:*:*:*:*:*:*:*
x libxfont 1.2.2 cpe:2.3:a:x:libxfont:1.2.2:*:*:*:*:*:*:*
x libxfont 1.2.3 cpe:2.3:a:x:libxfont:1.2.3:*:*:*:*:*:*:*
x libxfont 1.2.4 cpe:2.3:a:x:libxfont:1.2.4:*:*:*:*:*:*:*
x libxfont 1.2.5 cpe:2.3:a:x:libxfont:1.2.5:*:*:*:*:*:*:*
x libxfont 1.2.6 cpe:2.3:a:x:libxfont:1.2.6:*:*:*:*:*:*:*
x libxfont 1.2.7 cpe:2.3:a:x:libxfont:1.2.7:*:*:*:*:*:*:*
x libxfont 1.2.8 cpe:2.3:a:x:libxfont:1.2.8:*:*:*:*:*:*:*
x libxfont 1.2.9 cpe:2.3:a:x:libxfont:1.2.9:*:*:*:*:*:*:*
x libxfont 1.3.0 cpe:2.3:a:x:libxfont:1.3.0:*:*:*:*:*:*:*
x libxfont 1.3.1 cpe:2.3:a:x:libxfont:1.3.1:*:*:*:*:*:*:*
x libxfont 1.3.2 cpe:2.3:a:x:libxfont:1.3.2:*:*:*:*:*:*:*
x libxfont 1.3.3 cpe:2.3:a:x:libxfont:1.3.3:*:*:*:*:*:*:*
x libxfont 1.3.4 cpe:2.3:a:x:libxfont:1.3.4:*:*:*:*:*:*:*
x libxfont 1.4.0 cpe:2.3:a:x:libxfont:1.4.0:*:*:*:*:*:*:*
x libxfont 1.4.1 cpe:2.3:a:x:libxfont:1.4.1:*:*:*:*:*:*:*
x libxfont 1.4.2 cpe:2.3:a:x:libxfont:1.4.2:*:*:*:*:*:*:*
freebsd freebsd cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
netbsd netbsd cpe:2.3:o:netbsd:netbsd:*:*:*:*:*:*:*:*
openbsd openbsd <= 3.7 cpe:2.3:o:openbsd:openbsd:*:*:*:*:*:*:*:*
openbsd openbsd 2.0 cpe:2.3:o:openbsd:openbsd:2.0:*:*:*:*:*:*:*
openbsd openbsd 2.1 cpe:2.3:o:openbsd:openbsd:2.1:*:*:*:*:*:*:*
openbsd openbsd 2.2 cpe:2.3:o:openbsd:openbsd:2.2:*:*:*:*:*:*:*
openbsd openbsd 2.3 cpe:2.3:o:openbsd:openbsd:2.3:*:*:*:*:*:*:*
openbsd openbsd 2.4 cpe:2.3:o:openbsd:openbsd:2.4:*:*:*:*:*:*:*
openbsd openbsd 2.5 cpe:2.3:o:openbsd:openbsd:2.5:*:*:*:*:*:*:*
openbsd openbsd 2.6 cpe:2.3:o:openbsd:openbsd:2.6:*:*:*:*:*:*:*
openbsd openbsd 2.7 cpe:2.3:o:openbsd:openbsd:2.7:*:*:*:*:*:*:*
openbsd openbsd 2.8 cpe:2.3:o:openbsd:openbsd:2.8:*:*:*:*:*:*:*
openbsd openbsd 2.9 cpe:2.3:o:openbsd:openbsd:2.9:*:*:*:*:*:*:*
openbsd openbsd 3.0 cpe:2.3:o:openbsd:openbsd:3.0:*:*:*:*:*:*:*
openbsd openbsd 3.1 cpe:2.3:o:openbsd:openbsd:3.1:*:*:*:*:*:*:*
openbsd openbsd 3.2 cpe:2.3:o:openbsd:openbsd:3.2:*:*:*:*:*:*:*
openbsd openbsd 3.3 cpe:2.3:o:openbsd:openbsd:3.3:*:*:*:*:*:*:*
openbsd openbsd 3.4 cpe:2.3:o:openbsd:openbsd:3.4:*:*:*:*:*:*:*
openbsd openbsd 3.5 cpe:2.3:o:openbsd:openbsd:3.5:*:*:*:*:*:*:*
openbsd openbsd 3.6 cpe:2.3:o:openbsd:openbsd:3.6:*:*:*:*:*:*:*

References for CVE-2011-2895

URL Tags
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
cvelogic Threat Intelligence