Heap-based buffer overflow in FreeType - CVE-2014-9674

 

Heap-based buffer overflow in FreeType - CVE-2014-9674

Published: February 8, 2015 / Updated: July 28, 2020


Vulnerability identifier: #VU32336
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2014-9674
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: freetype.org
Affected software:
FreeType

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in The Mac_Read_POST_Resource function in base/ftobjs.c in FreeType before 2.5.4 proceeds with adding to length values without validating the original values, which. A remote attacker can use a crafted Mac font. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2014-9674

Update to version 2.5.4.

Sources