Every CVE Search/ Get API key

CVE-2017-7864

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow...

9.8 CriticalFix available

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tt_size_reset function in truetype/ttobjs.c.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.77%Up 2.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tt_size_reset function in truetype/ttobjs.c.

Record
CVE-2017-7864
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tt_size_reset function in truetype/ttobjs.c.

Record
CVE-2017-7864
Updated
2026-11-02
EUVDEUVD-2017-16839 No score

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tt_size_reset function in truetype/ttobjs.c.

Record
EUVD-2017-16839
Updated
2026-11-03
GitHub AdvisoriesGHSA-8hj9-h89q-ppcg 9.8

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow...

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tt_size_reset function in truetype/ttobjs.c.

Record
GHSA-8hj9-h89q-ppcg
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 9.8

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tt_size_reset function in truetype/ttobjs.c.

Record
CVE-2017-7864
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2018-0128 No score

Updated freetype2 packages fix security vulnerability

Updated freetype2 packages fix security vulnerability:

FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tt_size_reset function in truetype/ttobjs.c (CVE-2017-7864).

Record
MGASA-2018-0128
Updated
2026-11-02
OSVSUSE-SU-2018:0414-1 No score

Security update for freetype2

This update for freetype2 fixes the following security issues:

  • CVE-2016-10244: Make sure that the parse_charstrings function in type1/t1load.c does ensure that a font contains a glyph name to prevent a DoS through a heap-based buffer over-read or possibly have unspecified other impact via a crafted file (bsc#1028103)
  • CVE-2017-8105: Fix an out-of-bounds write caused by a heap-based buffer overflow related to the t1_decoder_parse_charstrings function in psaux/t1decode.ca (bsc#1035807)
  • CVE-2017-8287: an out-of-bounds write caused by a heap-based buffer overflow related to the t1_builder_close_contour function in psaux/psobjs.c (bsc#1036457)
  • Fix several integer overflow issues in truetype/ttinterp.c (bsc#1079600)
Record
SUSE-SU-2018:0414-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
freetype2
Mageia:6
before 2.7.1-2.1.mga6
2.7.1-2.1.mga6
freetype2
Mageia:6
before 2.7.1-2.1.mga6.tainted
2.7.1-2.1.mga6.tainted
freetype2
SUSE:Linux Enterprise Desktop 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
ft2demos
SUSE:Linux Enterprise Desktop 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
freetype2
SUSE:Linux Enterprise Desktop 12 SP3
before 2.6.3-7.15.1
2.6.3-7.15.1
ft2demos
SUSE:Linux Enterprise Desktop 12 SP3
before 2.6.3-7.15.1
2.6.3-7.15.1
freetype2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
ft2demos
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
freetype2
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
freetype2
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 2.6.3-7.15.1
2.6.3-7.15.1
Show 8 moreShow less
Affected packages
PackageAffectedFixed
freetype2
SUSE:Linux Enterprise Server 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
ft2demos
SUSE:Linux Enterprise Server 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
freetype2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
ft2demos
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 2.6.3-7.15.1
2.6.3-7.15.1
freetype2
SUSE:Linux Enterprise Server 12 SP3
before 2.6.3-7.15.1
2.6.3-7.15.1
ft2demos
SUSE:Linux Enterprise Server 12 SP3
before 2.6.3-7.15.1
2.6.3-7.15.1
freetype2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.6.3-7.15.1
2.6.3-7.15.1
ft2demos
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.6.3-7.15.1
2.6.3-7.15.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-7864 is a critical vulnerability (CVSS 9.8) in Freetype, published April 14, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.77%, the 89th percentile. Fixed in freetype2 2.7.1-2.1.mga6.

References

Show 13 moreShow less
MoveEnter Open