Out-of-bounds Write Affecting freetype package, versions <2.12.1+dfsg-3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.77% (55th 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-ECHOLATEST-FREETYPE-19402040
  • published28 Aug 2026
  • disclosed2 Jun 2022

Introduced: 2 Jun 2022

CVE-2022-31782  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Echo:latest freetype to version 2.12.1+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freetype package and not the freetype package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

ftbench.c in FreeType Demo Programs through 2.12.1 has a heap-based buffer overflow.

CVSS Base Scores

version 3.1