ID CVE-2010-3814
Summary Heap-based buffer overflow in the Ins_SHZ function in ttinterp.c in FreeType 2.4.3 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via a crafted SHZ bytecode instruction, related to TrueType opcodes, as demonstrated by a PDF document with a crafted embedded font.
References
Vulnerable Configurations
  • FreeType 2.2
    cpe:2.3:a:freetype:freetype:2.2
  • FreeType 2.1.9
    cpe:2.3:a:freetype:freetype:2.1.9
  • FreeType 2.3.4
    cpe:2.3:a:freetype:freetype:2.3.4
  • FreeType 2.3.3
    cpe:2.3:a:freetype:freetype:2.3.3
  • FreeType 2.1.7
    cpe:2.3:a:freetype:freetype:2.1.7
  • FreeType 2.1.6
    cpe:2.3:a:freetype:freetype:2.1.6
  • FreeType 2.3.9
    cpe:2.3:a:freetype:freetype:2.3.9
  • FreeType 2.1.8
    cpe:2.3:a:freetype:freetype:2.1.8
  • FreeType 2.1.3
    cpe:2.3:a:freetype:freetype:2.1.3
  • FreeType 2.1.10
    cpe:2.3:a:freetype:freetype:2.1.10
  • FreeType 2.1.5
    cpe:2.3:a:freetype:freetype:2.1.5
  • FreeType 2.1.4
    cpe:2.3:a:freetype:freetype:2.1.4
  • cpe:2.3:a:freetype:freetype:2.2.10
    cpe:2.3:a:freetype:freetype:2.2.10
  • FreeType 2.2.1
    cpe:2.3:a:freetype:freetype:2.2.1
  • FreeType 2.0.6
    cpe:2.3:a:freetype:freetype:2.0.6
  • FreeType 2.4.1
    cpe:2.3:a:freetype:freetype:2.4.1
  • FreeType 2.4.2
    cpe:2.3:a:freetype:freetype:2.4.2
  • FreeType 2.3.8
    cpe:2.3:a:freetype:freetype:2.3.8
  • FreeType 2.3.7
    cpe:2.3:a:freetype:freetype:2.3.7
  • FreeType 2.3.6
    cpe:2.3:a:freetype:freetype:2.3.6
  • FreeType 2.3.5
    cpe:2.3:a:freetype:freetype:2.3.5
  • FreeType 2.3.2
    cpe:2.3:a:freetype:freetype:2.3.2
  • FreeType 2.4.0
    cpe:2.3:a:freetype:freetype:2.4.0
  • FreeType 2.3.12
    cpe:2.3:a:freetype:freetype:2.3.12
  • FreeType 2.3.11
    cpe:2.3:a:freetype:freetype:2.3.11
  • FreeType 2.3.10
    cpe:2.3:a:freetype:freetype:2.3.10
  • FreeType 2.1
    cpe:2.3:a:freetype:freetype:2.1
  • FreeType 2.3.1
    cpe:2.3:a:freetype:freetype:2.3.1
  • FreeType 2.0.9
    cpe:2.3:a:freetype:freetype:2.0.9
  • FreeType 2.3.0
    cpe:2.3:a:freetype:freetype:2.3.0
  • FreeType 1.3.1
    cpe:2.3:a:freetype:freetype:1.3.1
  • FreeType 2.4.3
    cpe:2.3:a:freetype:freetype:2.4.3
  • FreeType 2.1.8 release candiate 1
    cpe:2.3:a:freetype:freetype:2.1.8:rc1
CVSS
Base: 6.8 (as of 29-11-2010 - 11:31)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_10_6_7.NASL
    description The remote host is running a version of Mac OS X 10.6.x that is prior to 10.6.7. Mac OS X 10.6.7 contains security fixes for the following products : - AirPort - Apache - AppleScript - ATS - bzip2 - CarbonCore - ClamAV - CoreText - File Quarantine - HFS - ImageIO - Image RAW - Installer - Kerberos - Kernel - Libinfo - libxml - Mailman - PHP - QuickLook - QuickTime - Ruby - Samba - Subversion - Terminal - X11
    last seen 2019-02-21
    modified 2018-08-22
    plugin id 52754
    published 2011-03-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52754
    title Mac OS X 10.6.x < 10.6.7 Multiple Vulnerabilities
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201201-09.NASL
    description The remote host is affected by the vulnerability described in GLSA-201201-09 (FreeType: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in FreeType. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could entice a user to open a specially crafted font, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or a Denial of Service. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 57651
    published 2012-01-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57651
    title GLSA-201201-09 : FreeType: Multiple vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_FREETYPE2-110304.NASL
    description Specially crafted font files could crash applications that use freetype2 to render the fonts. (CVE-2010-3814 / CVE-2010-3855)
    last seen 2019-02-21
    modified 2013-10-25
    plugin id 53313
    published 2011-04-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53313
    title SuSE 11.1 Security Update : freetype2 (SAT Patch Number 4089)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_FREETYPE2-7399.NASL
    description Specially crafted font files could crash applications that use freetype2 to render the fonts. (CVE-2010-3814 / CVE-2010-3855)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 57197
    published 2011-12-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57197
    title SuSE 10 Security Update : freetype2 (ZYPP Patch Number 7399)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SECUPD2011-001.NASL
    description The remote host is running a version of Mac OS X 10.5 that does not have Security Update 2011-001 applied. This security update contains fixes for the following products : - Apache - bzip2 - ClamAV - ImageIO - Kerberos - Libinfo - libxml - Mailman - PHP - QuickLook - Ruby - X11
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 52753
    published 2011-03-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52753
    title Mac OS X Multiple Vulnerabilities (Security Update 2011-001)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_2_FREETYPE2-110303.NASL
    description Specially crafted font files could crash applications that use freetype2 to render the fonts (CVE-2010-3814, CVE-2010-3855).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53723
    published 2011-05-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53723
    title openSUSE Security Update : freetype2 (openSUSE-SU-2011:0361-1)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1013-1.NASL
    description Marc Schoenefeld discovered that FreeType did not correctly handle certain malformed font files. If a user were tricked into using a specially crafted font file, a remote attacker could cause FreeType to crash or possibly execute arbitrary code with user privileges. This issue only affected Ubuntu 6.06 LTS, 8.04 LTS, 9.10 and 10.04 LTS. (CVE-2010-3311) Chris Evans discovered that FreeType did not correctly handle certain malformed TrueType font files. If a user were tricked into using a specially crafted TrueType file, a remote attacker could cause FreeType to crash or possibly execute arbitrary code with user privileges. This issue only affected Ubuntu 8.04 LTS, 9.10, 10.04 LTS and 10.10. (CVE-2010-3814) It was discovered that FreeType did not correctly handle certain malformed TrueType font files. If a user were tricked into using a specially crafted TrueType file, a remote attacker could cause FreeType to crash or possibly execute arbitrary code with user privileges. (CVE-2010-3855). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 50491
    published 2010-11-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50491
    title Ubuntu 6.06 LTS / 8.04 LTS / 9.10 / 10.04 LTS / 10.10 : freetype vulnerabilities (USN-1013-1)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_3_FREETYPE2-110303.NASL
    description Specially crafted font files could crash applications that use freetype2 to render the fonts (CVE-2010-3814, CVE-2010-3855).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75505
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75505
    title openSUSE Security Update : freetype2 (openSUSE-SU-2011:0361-1)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2010-236.NASL
    description Multiple vulnerabilities were discovered and corrected in freetype2 : An error within the 'Ins_SHZ()' function in src/truetype/ttinterp.c when handling the 'SHZ' bytecode instruction can be exploited to cause a crash and potentially execute arbitrary code via a specially crafted font (CVE-2010-3814). An error exists in the 'ft_var_readpackedpoints()' function in src/truetype/ttgxvar.c when processing TrueType GX fonts and can be exploited to cause a heap-based buffer overflow via a specially crafted font (CVE-2010-3855). Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149&products_id=4 90 The updated packages have been patched to correct these issues.
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 50608
    published 2010-11-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50608
    title Mandriva Linux Security Advisory : freetype2 (MDVSA-2010:236)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_FREETYPE2-7366.NASL
    description Specially crafted font files could crash applications that use freetype2 to render the fonts. (CVE-2010-3814 / CVE-2010-3855)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 53487
    published 2011-04-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53487
    title SuSE 10 Security Update : freetype2 (ZYPP Patch Number 7366)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2155.NASL
    description Two buffer overflows were found in the Freetype font library, which could lead to the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 51828
    published 2011-02-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=51828
    title Debian DSA-2155-1 : freetype - several vulnerabilities
refmap via4
apple
  • APPLE-SA-2010-11-22-1
  • APPLE-SA-2011-03-21-1
bid 44643
confirm
debian DSA-2155
mandriva MDVSA-2010:236
sectrack 1024767
secunia
  • 42314
  • 43138
  • 48951
ubuntu USN-1013-1
vupen
  • ADV-2010-3046
  • ADV-2011-0246
Last major update 18-12-2012 - 23:32
Published 26-11-2010 - 15:00
Back to Top