Out-of-bounds Write Affecting freetype package, versions [,2.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.76% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-FREETYPE-2381008
  • published26 Jan 2022
  • disclosed19 Aug 2010
  • creditUnknown

Introduced: 19 Aug 2010

CVE-2010-2520  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade freetype to version 2.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Heap-based buffer overflow in the Ins_IUP function in truetype/ttinterp.c in FreeType before 2.4.0, when TrueType bytecode support is enabled, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted font file.

CVSS Scores

version 3.1