Live threats

All CVEs / Freetype

CVE-2011-2895Freetype

Critical 9.3 No auth needed

Priority
72
CVSS 2.0
9.3
EPSS
8.4%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Aug 19, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Freetype.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
freetypefreetype2.1.9
xlibxfont≤ 1.4.3
xlibxfont1.2.0
xlibxfont1.2.1
xlibxfont1.2.2
xlibxfont1.2.3
xlibxfont1.2.4
xlibxfont1.2.5
xlibxfont1.2.6
xlibxfont1.2.7
xlibxfont1.2.8
xlibxfont1.2.9
xlibxfont1.3.0
xlibxfont1.3.1
xlibxfont1.3.2
xlibxfont1.3.3
xlibxfont1.3.4
xlibxfont1.4.0
xlibxfont1.4.1
xlibxfont1.4.2
freebsdfreebsdall
netbsdnetbsdall
openbsdopenbsd≤ 3.7
openbsdopenbsd2.0
openbsdopenbsd2.1
openbsdopenbsd2.2
openbsdopenbsd2.3
openbsdopenbsd2.4
openbsdopenbsd2.5
openbsdopenbsd2.6
openbsdopenbsd2.7
openbsdopenbsd2.8
openbsdopenbsd2.9
openbsdopenbsd3.0
openbsdopenbsd3.1
openbsdopenbsd3.2
openbsdopenbsd3.3
openbsdopenbsd3.4
openbsdopenbsd3.5
openbsdopenbsd3.6

Official sources

References

Links published by the sources. Open them with care.