CVE-2011-2895

BSD compress LZW decoder buffer overflow

Published Aug 19, 2011 CVSS 2.0 · 9.3 Critical EPSS 8.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2293-1 libxfont security update
EUVD EUVD EUVD-2011-2868 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.
Ubuntu USN Ubuntu USN USN-1191-1 libXfont vulnerability
References
Link Providers
http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0 cve-icon cve-icon
http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc cve-icon cve-icon
http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html cve-icon cve-icon
http://lists.apple.com/archives/security-announce/2012/May/msg00001.html cve-icon cve-icon
http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html cve-icon cve-icon
http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html cve-icon cve-icon
http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html cve-icon cve-icon
http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html cve-icon cve-icon
http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html cve-icon cve-icon
http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html cve-icon cve-icon
http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html cve-icon cve-icon
http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html cve-icon cve-icon
http://secunia.com/advisories/45544 cve-icon cve-icon
http://secunia.com/advisories/45568 cve-icon cve-icon
http://secunia.com/advisories/45599 cve-icon cve-icon
http://secunia.com/advisories/45986 cve-icon cve-icon
http://secunia.com/advisories/46127 cve-icon cve-icon
http://secunia.com/advisories/48951 cve-icon cve-icon
http://securitytracker.com/id?1025920 cve-icon cve-icon
http://support.apple.com/kb/HT5130 cve-icon cve-icon
http://support.apple.com/kb/HT5281 cve-icon cve-icon
http://www.debian.org/security/2011/dsa-2293 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2011:153 cve-icon cve-icon
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17 cve-icon cve-icon
http://www.openwall.com/lists/oss-security/2011/08/10/10 cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2011-1154.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2011-1155.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2011-1161.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2011-1834.html cve-icon cve-icon
http://www.securityfocus.com/bid/49124 cve-icon cve-icon
http://www.ubuntu.com/usn/USN-1191-1 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=725760 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=727624 cve-icon cve-icon
https://exchange.xforce.ibmcloud.com/vulnerabilities/69141 cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2011-2895 cve-icon
https://support.apple.com/HT205635 cve-icon cve-icon
https://support.apple.com/HT205637 cve-icon cve-icon
https://support.apple.com/HT205640 cve-icon cve-icon
https://support.apple.com/HT205641 cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2011-2895 cve-icon
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 11:15 PM
Reserved
Jul 27, 2011, 12:00 AM
Status
Modified
Published
Aug 19, 2011, 5:55 PM
Modified
Jun 16, 2026, 11:32 PM
Severity
Important
Public date
Aug 10, 2011, 12:00 AM