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: 6.9 [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]
CVE-ID: CVE-2014-9674
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

FreeType
freetype (Alpine package)

How to mitigate CVE-2014-9674

Update to version 2.5.4.

FreeType - update to 2.5.4
freetype (Alpine package) - update to 2.5.4-r0

External References

Related Security Bulletins