Back to CVE records
High 9.3Published Aug 19, 2011

CVE-2011-2895The 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, Fre…

Updated under an hour ago ()

Does this affect you?

It affects freetype and 4 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
9.3 HIGH (v2.0, NVD)AV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness (CWE)
CWE-119
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Jun 16, 2026
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
freetype freetype
freetype:freetype
2.1.9
NVD
x libxfont
x:libxfont
through 1.4.3; 1.2.0; 1.2.1; 1.2.2; 1.2.3; 1.2.4; 1.2.5; 1.2.6; and 11 more ranges
NVD
freebsd freebsd
freebsd:freebsd
all versions
NVD
netbsd netbsd
netbsd:netbsd
all versions
NVD
openbsd openbsd
openbsd:openbsd
through 3.7; 2.0; 2.1; 2.2; 2.3; 2.4; 2.5; 2.6; and 10 more ranges
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .