CVE-2011-2895
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
FreeBSD Affected 18 releases
| Version | Status | Fixed in |
|---|---|---|
| 3.6 | Affected | โ |
| 3.5 | Affected | โ |
| 3.4 | Affected | โ |
| 3.3 | Affected | โ |
| 3.2 | Affected | โ |
| 3.1 | Affected | โ |
| 3.0 | Affected | โ |
| 2.9 | Affected | โ |
| 2.8 | Affected | โ |
| 2.7 | Affected | โ |
| 2.6 | Affected | โ |
| 2.5 | Affected | โ |
| 2.4 | Affected | โ |
| 2.3 | Affected | โ |
| 2.2 | Affected | โ |
| 2.1 | Affected | โ |
| 2.0 | Affected | โ |
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:1.4.4-1 |
| sid | Fixed | 1:1.4.4-1 |
| forky | Fixed | 1:1.4.4-1 |
| bullseye | Fixed | 1:1.4.4-1 |
| bookworm | Fixed | 1:1.4.4-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| freetype | freetype | 2.1.9 | |
| x | libxfont | {"endIncluding":"1.4.3"} | |
| x | libxfont | 1.2.0 | |
| x | libxfont | 1.2.1 | |
| x | libxfont | 1.2.2 | |
| x | libxfont | 1.2.3 | |
| x | libxfont | 1.2.4 | |
| x | libxfont | 1.2.5 | |
| x | libxfont | 1.2.6 | |
| x | libxfont | 1.2.7 | |
| x | libxfont | 1.2.8 | |
| x | libxfont | 1.2.9 | |
| x | libxfont | 1.3.0 | |
| x | libxfont | 1.3.1 | |
| x | libxfont | 1.3.2 | |
| x | libxfont | 1.3.3 | |
| x | libxfont | 1.3.4 | |
| x | libxfont | 1.4.0 | |
| x | libxfont | 1.4.1 | |
| x | libxfont | 1.4.2 | |
References
- http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0
- http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2011-007.txt.asc
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00000.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00001.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00002.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- http://lists.freedesktop.org/archives/xorg-announce/2011-August/001721.html
- http://lists.freedesktop.org/archives/xorg-announce/2011-August/001722.html
- http://lists.opensuse.org/opensuse-security-announce/2011-09/msg00019.html
- http://lists.opensuse.org/opensuse-security-announce/2011-12/msg00004.html
- http://secunia.com/advisories/45544
- http://secunia.com/advisories/45568
- http://secunia.com/advisories/45599
- http://secunia.com/advisories/45986
- http://secunia.com/advisories/46127
- http://secunia.com/advisories/48951
- http://securitytracker.com/id?1025920
- http://support.apple.com/kb/HT5130
- http://support.apple.com/kb/HT5281
- http://www.debian.org/security/2011/dsa-2293
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:153
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17
- http://www.openwall.com/lists/oss-security/2011/08/10/10
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.