Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.8

CVE-2010-2806: FreeType <2.4.2 may crash or be compromised by fonts

CVE-2010-2806 · published 16 years ago
Summary

The FreeType font‑rendering library versions before 2.4.2 can be tricked by a specially crafted FontType42 file to write outside its memory area. This can cause the application using the library to stop working or, in rare cases, allow an attacker to run their own code. Update FreeType to version 2.4.2 or later, or apply the vendor's patch, to eliminate the risk.

What to do
  • Update debian freetype to version 2.4.2-1.
  • Update freetype freetype to version 2.4.2 or later.
  • Update apple iphone_os to version 4.2 or later.
  • Update apple mac_os_x to version 10.6.5 or later.
  • Update apple tvos to version 4.1.0 or later.
Affected software
Ecosystem VendorProductAffected versions
Debian:12 debian freetype < 2.4.2-1
Fix: upgrade to 2.4.2-1
Debian:13 debian freetype < 2.4.2-1
Fix: upgrade to 2.4.2-1
Debian:14 debian freetype < 2.4.2-1
Fix: upgrade to 2.4.2-1
– freetype freetype < 2.4.2
cpe:2.3:a:freetype:freetype:*:*:*:*:*:*:*:*
– canonical ubuntu_linux 6.06
8.04
9.04
9.10
10.04
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
– apple iphone_os < 4.2
cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
– apple mac_os_x < 10.6.5
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
– apple tvos < 4.1.0
cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*
Original advisory text
Array index error in the t42_parse_sfnts function in type42/t42parse.c in FreeType before 2.4.2 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrar...
Array index error in the t42_parse_sfnts function in type42/t42parse.c in FreeType before 2.4.2 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via negative size values for certain strings in FontType42 font files, leading to a heap-based buffer overflow.
References
Severity
6.8 Medium
Exploitation
6% chance of attack within 30 days
Type
CWE-129Improper Validation of Array Index
Timeline
Published19 Aug 2010
Updated20 Oct 2026
First seen4 Sep 2026
Sources
CVE-2010-2806 · NVD
Track software like this
Free during beta