What’s Vulnerable › Vulnerabilities
CVE-2017-7857
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-04-14 · updated 2026-06-17
- Weakness: CWE-787
Description
FreeType 2 before 2017-03-08 has an out-of-bounds write caused by a heap-based buffer overflow related to the TT_Get_MM_Var function in truetype/ttgxvar.c and the sfnt_init_face function in sfnt/sfobjs.c.
Affected products
- FreeType: from 2.7 before 2.8 — fixed in 2.8
How to fix
Upgrade to a fixed version: FreeType 2.8. Check the vendor advisory for mitigations.
References
- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=7bbb91fbf47fc0775cc9705673caf0c47a81f94b
- http://www.securityfocus.com/bid/97680
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=759
- https://security.gentoo.org/glsa/201706-14
- https://www.oracle.com/security-alerts/cpuapr2020.html
- http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=7bbb91fbf47fc0775cc9705673caf0c47a81f94b
- http://www.securityfocus.com/bid/97680
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=759
- https://security.gentoo.org/glsa/201706-14
- https://www.oracle.com/security-alerts/cpuapr2020.html
Get alerted when CVE-2017-7857 or the next vulnerability affects your stack