Vulnerability Database

289,599

Total vulnerabilities in the database

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: Aug 19, 2011
  • Updated: Apr 13, 2023
  • CVE: CVE-2011-2895
  • Severity: High
  • Exploit:

CVSS v2:

  • Severity: High
  • Score: 9.3
  • AV:N/AC:M/Au:N/C:C/I:C/A:C

CWEs:

Software From Fixed in
openbsd / openbsd 2.8 2.8.x
freetype / freetype 2.1.9 2.1.9.x
netbsd / netbsd - -
x / libxfont 1.2.1 1.2.1.x
x / libxfont 1.2.7 1.2.7.x
x / libxfont 1.2.6 1.2.6.x
openbsd / openbsd 3.1 3.1.x
x / libxfont 1.3.3 1.3.3.x
openbsd / openbsd 3.3 3.3.x
openbsd / openbsd 2.9 2.9.x
x / libxfont - 1.4.3.x
x / libxfont 1.3.2 1.3.2.x
x / libxfont 1.3.4 1.3.4.x
openbsd / openbsd 2.1 2.1.x
x / libxfont 1.3.1 1.3.1.x
freebsd / freebsd - -
openbsd / openbsd 2.2 2.2.x
x / libxfont 1.4.0 1.4.0.x
openbsd / openbsd 2.0 2.0.x
openbsd / openbsd 2.7 2.7.x
x / libxfont 1.2.4 1.2.4.x
x / libxfont 1.2.9 1.2.9.x
x / libxfont 1.4.1 1.4.1.x
openbsd / openbsd 3.2 3.2.x
openbsd / openbsd 2.4 2.4.x
x / libxfont 1.2.0 1.2.0.x
openbsd / openbsd 3.6 3.6.x
openbsd / openbsd 3.0 3.0.x
x / libxfont 1.2.3 1.2.3.x
x / libxfont 1.2.5 1.2.5.x
openbsd / openbsd 3.5 3.5.x
x / libxfont 1.2.8 1.2.8.x
openbsd / openbsd 2.6 2.6.x
x / libxfont 1.3.0 1.3.0.x
openbsd / openbsd 2.5 2.5.x
x / libxfont 1.4.2 1.4.2.x
openbsd / openbsd 2.3 2.3.x
openbsd / openbsd - 3.7.x
x / libxfont 1.2.2 1.2.2.x
openbsd / openbsd 3.4 3.4.x