Out-of-Bounds Affecting freetype package, versions [,2.5.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
3.88% (92nd 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-2380995
  • published26 Jan 2022
  • disclosed8 Feb 2015
  • creditUnknown

Introduced: 8 Feb 2015

CVE-2014-9665  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade freetype to version 2.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The Load_SBit_Png function in sfnt/pngshim.c in FreeType before 2.5.4 does not restrict the rows and pitch values of PNG data, which allows remote attackers to cause a denial of service (integer overflow and heap-based buffer overflow) or possibly have unspecified other impact by embedding a PNG file in a .ttf font file.

References

CVSS Scores

version 3.1