CVE-2017-7864
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.
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
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 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV: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 Critical
CVSS: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 Critical
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
freetype2Mageia:6 |
before 2.7.1-2.1.mga6 | 2.7.1-2.1.mga6 |
freetype2Mageia:6 |
before 2.7.1-2.1.mga6.tainted | 2.7.1-2.1.mga6.tainted |
freetype2SUSE:Linux Enterprise Desktop 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
ft2demosSUSE:Linux Enterprise Desktop 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
freetype2SUSE:Linux Enterprise Desktop 12 SP3 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
ft2demosSUSE:Linux Enterprise Desktop 12 SP3 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
freetype2SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
ft2demosSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
freetype2SUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
freetype2SUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
freetype2SUSE:Linux Enterprise Server 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
ft2demosSUSE:Linux Enterprise Server 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
freetype2SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
ft2demosSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
freetype2SUSE:Linux Enterprise Server 12 SP3 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
ft2demosSUSE:Linux Enterprise Server 12 SP3 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
freetype2SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
ft2demosSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.6.3-7.15.1 | 2.6.3-7.15.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
securityfocus.com/bid/97673
security.gentoo.org/glsa/201706-14
git.savannah.gnu.org/cgit/freetype/freetype2.git/commit?id=e6699596af5c5d6f0ae0ea06e19df87dce088df8
bugs.chromium.org/p/oss-fuzz/issues/detail?id=509
oracle.com/security-alerts/cpuapr2020.html
nvd.nist.gov/vuln/detail/CVE-2017-7864
Show 13 moreShow less
github.com/advisories/GHSA-8hj9-h89q-ppcg
advisories.mageia.org/MGASA-2018-0128.html
bugs.mageia.org/show_bug.cgi?id=22563
bugzilla.suse.com/show_bug.cgi?id=1034178
suse.com/support/update/announcement/2018/suse-su-20180414-1
bugzilla.suse.com/1028103
bugzilla.suse.com/1035807
bugzilla.suse.com/1036457
bugzilla.suse.com/1079600
suse.com/security/cve/CVE-2016-10244
suse.com/security/cve/CVE-2017-7864
suse.com/security/cve/CVE-2017-8105
suse.com/security/cve/CVE-2017-8287