CVE-2011-2895
Reported by redhat · Published August 19, 2011
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.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| X.Org Foundation | libXfont |
Timeline
- Aug 19, 2011 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 1, 2024 PoC Published (3 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 30, 2026 Security Advisory (6 in total, the first dated here)
- Jun 16, 2026 CVE Updated
- Oct 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2011-2895
vulnetix vdb fixes CVE-2011-2895
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2011-2895/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- RHSA-2011:1154 vendor-advisoryx_refsource_REDHAT
- USN-1191-1 vendor-advisoryx_refsource_UBUNTU
- [oss-security] 20110810 LZW decompression issues mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- 45544 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- APPLE-SA-2015-12-08-4 vendor-advisoryx_refsource_APPLE
- MDVSA-2011:153 vendor-advisoryx_refsource_MANDRIVA
- 49124 vdb-entryx_refsource_BID
- 45599 third-party-advisoryx_refsource_SECUNIA
- RHSA-2011:1155 vendor-advisoryx_refsource_REDHAT
- 1025920 vdb-entryx_refsource_SECTRACK
- openSUSE-SU-2011:1299 vendor-advisoryx_refsource_SUSE
- APPLE-SA-2015-12-08-3 vendor-advisoryx_refsource_APPLE
- SUSE-SU-2011:1035 vendor-advisoryx_refsource_SUSE
- APPLE-SA-2012-02-01-1 vendor-advisoryx_refsource_APPLE
- [xorg-announce] 20110810 X.Org security advisory: libXfont LZW decompression heap corruption mailing-listx_refsource_MLIST
- 46127 third-party-advisoryx_refsource_SECUNIA
…and 18 more