Improper Validation of Array Index Affecting freetype package, versions [,2.4.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.44% (75th 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-2380968
  • published26 Jan 2022
  • disclosed19 Aug 2010
  • creditUnknown

Introduced: 19 Aug 2010

CVE-2010-2806  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade freetype to version 2.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index. Array index error in the t42_parse_sfnts function in type42/t42parse.c in FreeType before 2.4.2 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via negative size values for certain strings in FontType42 font files, leading to a heap-based buffer overflow.

CVSS Scores

version 3.1