CVE-2011-2895

Impact:
Important
Public Date:
2011-08-10
Bugzilla:
727624: CVE-2011-2895 BSD compress LZW decoder buffer overflow

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2011-2895 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 6.9
Base Metrics AV:L/AC:M/Au:N/C:C/I:C/A:C
Access Vector Local
Access Complexity Medium
Authentication None
Confidentiality Impact Complete
Integrity Impact Complete
Availability Impact Complete

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux version 5 (libXfont) RHSA-2011:1154 2011-08-11
Red Hat Enterprise Linux version 4 (xorg-x11) RHSA-2011:1155 2011-08-11
Red Hat Enterprise Linux version 6 (libXfont) RHSA-2011:1154 2011-08-11
Red Hat Enterprise Linux EUS (v. 5.6 server) (libXfont) RHSA-2011:1834 2011-12-19
Red Hat Enterprise Linux version 4 (freetype) RHSA-2011:1161 2011-08-15

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 4 ncompress Not affected
Red Hat Enterprise Linux 6 busybox Not affected
Red Hat Enterprise Linux 6 ncompress Not affected
Red Hat Enterprise Linux 4 busybox Not affected
Red Hat Enterprise Linux 5 ncompress Not affected
Red Hat Enterprise Linux 4 mailx Not affected
Red Hat Enterprise Linux 6 gzip Not affected
Red Hat Enterprise Linux 5 freetype Not affected
Red Hat Enterprise Linux 6 freetype Not affected
Red Hat Enterprise Linux 5 gzip Not affected
Red Hat Enterprise Linux 5 busybox Not affected
Red Hat Enterprise Linux 5 mailx Not affected
Red Hat Enterprise Linux 6 mailx Will not fix
Red Hat Enterprise Linux 6 libarchive Not affected
Red Hat Enterprise Linux 4 gzip Not affected