CVEfocus › CVE database › CVE-2011-2895

CVE-2011-2895

EPSS 8.4% (higher than 95% of CVEs)Published 2011-08-19Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

29Fixed
1Will not fix
18Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14libxfontFixed1:1.4.4-1DEBIAN-CVE-2011-2895
Debian 13libxfontFixed1:1.4.4-1DEBIAN-CVE-2011-2895
Debian 12libxfontFixed1:1.4.4-1DEBIAN-CVE-2011-2895
Red Hat Enterprise Linux 6busyboxNot affected
Red Hat Enterprise Linux 6busybox-petitbootNot affected
Red Hat Enterprise Linux 6freetypeNot affected
Red Hat Enterprise Linux 6freetype-demosNot affected
Red Hat Enterprise Linux 6freetype-develNot affected
Red Hat Enterprise Linux 6gzipNot affected
Red Hat Enterprise Linux 6libXfontFixed0:1.4.1-2.el6_1RHSA-2011:1154
Red Hat Enterprise Linux 6libXfont-develFixed0:1.4.1-2.el6_1RHSA-2011:1154
Red Hat Enterprise Linux 6libarchiveNot affected
Red Hat Enterprise Linux 6libarchive-develNot affected
Red Hat Enterprise Linux 6mailxWill not fix
Will not fix
Red Hat Enterprise Linux 6ncompressNot affected
Red Hat Enterprise Linux 5busyboxNot affected
Red Hat Enterprise Linux 5freetypeNot affected
Red Hat Enterprise Linux 5gzipNot affected
Red Hat Enterprise Linux 5libXfontFixed0:1.2.2-1.0.4.el5_7RHSA-2011:1154
Red Hat Enterprise Linux 5libXfont-develFixed0:1.2.2-1.0.4.el5_7RHSA-2011:1154
Red Hat Enterprise Linux 5mailxNot affected
Red Hat Enterprise Linux 5ncompressNot affected
Red Hat Enterprise Linux 4busyboxNot affected
Red Hat Enterprise Linux 4freetypeFixed0:2.1.9-19.el4RHSA-2011:1161
Red Hat Enterprise Linux 4freetype-demosFixed0:2.1.9-19.el4RHSA-2011:1161
Red Hat Enterprise Linux 4freetype-develFixed0:2.1.9-19.el4RHSA-2011:1161
Red Hat Enterprise Linux 4freetype-utilsFixed0:2.1.9-19.el4RHSA-2011:1161
Red Hat Enterprise Linux 4gzipNot affected
Red Hat Enterprise Linux 4mailxNot affected
Red Hat Enterprise Linux 4ncompressNot affected
Red Hat Enterprise Linux 4xorg-x11Fixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-Mesa-libGLFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-Mesa-libGLUFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-XdmxFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-XnestFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-XvfbFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-deprecated-libsFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-deprecated-libs-develFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-develFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-docFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-font-utilsFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-libsFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-sdkFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-toolsFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-twmFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-xauthFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-xdmFixed0:6.8.2-1.EL.69RHSA-2011:1155
Red Hat Enterprise Linux 4xorg-x11-xfsFixed0:6.8.2-1.EL.69RHSA-2011:1155

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.