Skip to content
OpenAdvisories
Unscored CVE-2011-2895 EUVD-2011-2868GHSA-8hvp-h85w-jwq9

The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compres…

Published Aug 19, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxfont 1:1.4.4-1 —
Debian 13 libxfont 1:1.4.4-1 —
Debian 12 libxfont 1:1.4.4-1 —
Debian 6.0 libxfont 1:1.4.1-3 DSA-2293-1
Debian 5.0 libxfont 1:1.3.3-2 DSA-2293-1
ReleasePackageFixed inAdvisory
RHEL 6 libXfont +1 1.4.1-2.el6_1 RHSA-2011:1154
RHEL 5 libXfont +1 1.2.2-1.0.4.el5_7 RHSA-2011:1154
RHEL 4 freetype +3 2.1.9-19.el4 RHSA-2011:1161
RHEL 4 xorg-x11 +17 6.8.2-1.EL.69 RHSA-2011:1155
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 5.6 EUS libXfont +1 1.2.2-1.0.3.el5_6 RHSA-2011:1834

Advisories 5

References