#VU32478 Stack-based buffer overflow in FreeType - CVE-2014-2240


| Updated: 2020-07-28

Vulnerability identifier: #VU32478

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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-2240

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
FreeType
Universal components / Libraries / Libraries used by multiple products

Vendor: freetype.org

Description

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

The vulnerability exists due to a boundary error within the cf2_hintmap_build function in cff/cf2hints.c when processing a large number of stem hints in a font file. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

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

Mitigation
Update to version 2.5.3.

Vulnerable software versions

FreeType: 2.5.1 - 2.5.2


External links
https://savannah.nongnu.org/bugs/?41697
https://secunia.com/advisories/57291
https://secunia.com/advisories/57447
https://sourceforge.net/projects/freetype/files/freetype2/2.5.3
https://www.freetype.org/index.html
https://www.securityfocus.com/bid/66074
https://www.securitytracker.com/id/1029895
https://www.ubuntu.com/usn/USN-2148-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability