Home / Freetype / Freetype / CVE-2011-2895
CVE-2011-2895: is it exploited, and which versions of Freetype are affected and fixed?
CVE-2011-2895 is a memory corruption (buffer overflow) vulnerability in Freetype. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: freetype 2.1.9, libxfont through 1.4.3, libxfont 1.2.0 and 37 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (9.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2011-2895?
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.
From the CVE record by redhat, last updated August 6, 2024, 23:15 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| freetype | freetype | 2.1.9 | application |
| x | libxfont | through 1.4.3 | application |
| x | libxfont | 1.2.0 | application |
| x | libxfont | 1.2.1 | application |
| x | libxfont | 1.2.2 | application |
| x | libxfont | 1.2.3 | application |
| x | libxfont | 1.2.4 | application |
| x | libxfont | 1.2.5 | application |
| x | libxfont | 1.2.6 | application |
| x | libxfont | 1.2.7 | application |
| x | libxfont | 1.2.8 | application |
| x | libxfont | 1.2.9 | application |
| x | libxfont | 1.3.0 | application |
| x | libxfont | 1.3.1 | application |
| x | libxfont | 1.3.2 | application |
| x | libxfont | 1.3.3 | application |
| x | libxfont | 1.3.4 | application |
| x | libxfont | 1.4.0 | application |
| x | libxfont | 1.4.1 | application |
| x | libxfont | 1.4.2 | application |
| freebsd | freebsd | all versions | operating system |
| netbsd | netbsd | all versions | operating system |
| openbsd | openbsd | through 3.7 | operating system |
| openbsd | openbsd | 2.0 | operating system |
| openbsd | openbsd | 2.1 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:32 UTC.
How severe is CVE-2011-2895?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2011-2895 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.36% probability of exploitation activity in the next 30 days, percentile 95.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- https://support.apple.com/HT205635 x_refsource_CONFIRM
- RHSA-2011:1154 vendor-advisory, x_refsource_REDHAT
- USN-1191-1 vendor-advisory, x_refsource_UBUNTU
- [oss-security] 20110810 LZW decompression issues mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=725760 x_refsource_CONFIRM
- 45544 third-party-advisory, x_refsource_SECUNIA
- https://support.apple.com/HT205637 x_refsource_CONFIRM
- http://support.apple.com/kb/HT5130 x_refsource_CONFIRM
- APPLE-SA-2015-12-08-4 vendor-advisory, x_refsource_APPLE
- MDVSA-2011:153 vendor-advisory, x_refsource_MANDRIVA
- 49124 vdb-entry, x_refsource_BID
- 45599 third-party-advisory, x_refsource_SECUNIA
- RHSA-2011:1155 vendor-advisory, x_refsource_REDHAT
- 1025920 vdb-entry, x_refsource_SECTRACK
- openSUSE-SU-2011:1299 vendor-advisory, x_refsource_SUSE
- APPLE-SA-2015-12-08-3 vendor-advisory, x_refsource_APPLE
- SUSE-SU-2011:1035 vendor-advisory, x_refsource_SUSE
- APPLE-SA-2012-02-01-1 vendor-advisory, x_refsource_APPLE
- [xorg-announce] 20110810 X.Org security advisory: libXfont LZW decompression heap corruption mailing-list, x_refsource_MLIST
- 46127 third-party-advisory, x_refsource_SECUNIA
- 45986 third-party-advisory, x_refsource_SECUNIA
- RHSA-2011:1161 vendor-advisory, x_refsource_REDHAT
- RHSA-2011:1834 vendor-advisory, x_refsource_REDHAT
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/compress/zopen.c#rev1.17 x_refsource_CONFIRM
- xorg-lzw-bo(69141) vdb-entry, x_refsource_XF
- APPLE-SA-2015-12-08-1 vendor-advisory, x_refsource_APPLE
- 45568 third-party-advisory, x_refsource_SECUNIA
- [xorg-announce] 20110810 [ANNOUNCE] libXfont 1.4.4 mailing-list, x_refsource_MLIST
- https://support.apple.com/HT205641 x_refsource_CONFIRM
- NetBSD-SA2011-007 vendor-advisory, x_refsource_NETBSD
- https://support.apple.com/HT205640 x_refsource_CONFIRM
- http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d11ee5886e9d9ec610051a206b135a4cdc1e09a0 x_refsource_CONFIRM
- 48951 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2015-12-08-2 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT5281 x_refsource_CONFIRM
- APPLE-SA-2012-05-09-1 vendor-advisory, x_refsource_APPLE
- DSA-2293 vendor-advisory, x_refsource_DEBIAN
- https://bugzilla.redhat.com/show_bug.cgi?id=727624 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 27, 2011
- Published
- August 19, 2011, 17:00 UTC
- CVE record updated
- August 6, 2024, 23:15 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:32 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Freetype?
- Mar 11, 2025CVE-2025-27363 FreeType: out-of-bounds write (memory corruption) exploited
- Mar 2, 2026CVE-2026-23865 FreeType: out-of-bounds read
- Jan 10, 2025CVE-2025-23022 FreeType: integer overflow
- Apr 22, 2022CVE-2022-27406 Freetype: out-of-bounds read
- Apr 22, 2022CVE-2022-27405 Freetype: out-of-bounds read
- Apr 22, 2022CVE-2022-27404 Freetype: out-of-bounds write (memory corruption)
- Sep 3, 2019CVE-2015-9383 Freetype: out-of-bounds read
- Sep 3, 2019CVE-2015-9382 Freetype: out-of-bounds read
Questions about CVE-2011-2895
Is CVE-2011-2895 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 8.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Freetype are affected by CVE-2011-2895?
freetype 2.1.9, libxfont through 1.4.3, libxfont 1.2.0, libxfont 1.2.1, libxfont 1.2.2, libxfont 1.2.3 and 34 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2011-2895?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2011-2895?
High (9.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2011-2895?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.