Vulnerabilities · 2011 · Freetype
CVE-2011-2895
Freetype vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Freetype, Libxfont, Freebsd, Netbsd, Openbsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Freetype runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/45544 · Vendor Advisory
- secunia.com/advisories/45568 · Vendor Advisory
- secunia.com/advisories/45599 · Vendor Advisory
- www.redhat.com/support/errata/RHSA-2011-1154.html · Vendor Advisory
- www.redhat.com/support/errata/RHSA-2011-1155.html · Vendor Advisory
- www.redhat.com/support/errata/RHSA-2011-1161.html · Vendor Advisory
- cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0 · Patch
- lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html · Patch
- nvd.nist.gov/vuln/detail/CVE-2011-2895
- cve.org/CVERecord?id=CVE-2011-2895
More vulnerabilities in Freetype products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.