Stack-based buffer overflow in FreeType



Published: 2014-03-12 | Updated: 2020-07-28
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2014-2240
CWE-ID CWE-121
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
FreeType
Universal components / Libraries / Libraries used by multiple products

Vendor freetype.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Stack-based buffer overflow

EUVDB-ID: #VU32478

Risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2014-2240

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

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

http://savannah.nongnu.org/bugs/?41697
http://secunia.com/advisories/57291
http://secunia.com/advisories/57447
http://sourceforge.net/projects/freetype/files/freetype2/2.5.3
http://www.freetype.org/index.html
http://www.securityfocus.com/bid/66074
http://www.securitytracker.com/id/1029895
http://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.



###SIDEBAR###