CVE-2014-2240
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType...
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType before 2.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of stem hints in a font file.
Exploit likelihood
What each source reports
NVD Score used
7.5
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType before 2.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of stem hints in a font file.
- Record
CVE-2014-2240- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType before 2.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of stem hints in a font file.
- Record
CVE-2014-2240- Updated
- 2026-11-02
EUVDEUVD-2014-2279 No score
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType before 2.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of stem hints in a font file.
- Record
EUVD-2014-2279- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pwqv-2w23-722w No score
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType...
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType before 2.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of stem hints in a font file.
- Record
GHSA-pwqv-2w23-722w- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType before 2.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of stem hints in a font file.
- Record
CVE-2014-2240- Updated
- 2026-11-02
OSVDEBIAN-CVE-2014-2240 No score
Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType before 2.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of stem hints in a font file.
- Record
DEBIAN-CVE-2014-2240- Updated
- 2026-11-02
Show 5 moreShow less
OSVMGASA-2014-0130 No score
Updated freetype2 packages fix security vulnerabilities
It was reported that Freetype before 2.5.3 suffers from an out-of-bounds stack-based read/write flaw in cf2_hintmap_build() in the CFF rasterizing code, which could lead to a buffer overflow (CVE-2014-2240).
It was also reported that Freetype before 2.5.3 has a denial-of-service vulnerability in the CFF rasterizing code, due to a reachable assertion (CVE-2014-2241).
- Record
MGASA-2014-0130- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10172-1 No score
ft2demos-2.7-1.1 on GA media
These are all security issues fixed in the ft2demos-2.7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10172-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10438-1 No score
freetype2-devel-2.7-1.1 on GA media
These are all security issues fixed in the freetype2-devel-2.7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10438-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0455-1 No score
Security update for freetype2
freetype2 was updated to fix 20 security issues.
These security issues were fixed:
- CVE-2014-9663: The tt_cmap4_validate function in sfnt/ttcmap.c in FreeType before 2.5.4 validates a certain length field before that field's value is completely calculated, which allowed remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted cmap SFNT table (bnc#916865).
- CVE-2014-9662: cff/cf2ft.c in FreeType before 2.5.4 did not validate the return values of point-allocation functions, which allowed remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted OTF font (bnc#916860).
- CVE-2014-9661: type42/t42parse.c in FreeType before 2.5.4 did not consider that scanning can be incomplete without triggering an error, which allowed remote attackers to cause a denial of service (use-after-free) or possibly have unspecified other impact via a crafted Type42 font (bnc#916859).
- CVE-2014-9660: The _bdf_parse_glyphs function in bdf/bdflib.c in FreeType before 2.5.4 did not properly handle a missing ENDCHAR record, which allowed remote attackers to cause a denial of service (NULL pointer dereference) or possibly have unspecified other impact via a crafted BDF font (bnc#916858).
- CVE-2014-9667: sfnt/ttload.c in FreeType before 2.5.4 proceeds with offset+length calculations without restricting the values, which allowed remote attackers to cause a denial of service (integer overflow and out-of-bounds read) or possibly have unspecified other impact via a crafted SFNT table (bnc#916861).
- CVE-2014-9666: The tt_sbit_decoder_init function in sfnt/ttsbit.c in FreeType before 2.5.4 proceeds with a count-to-size association without restricting the count value, which allowed remote attackers to cause a denial of service (integer overflow and out-of-bounds read) or possibly have unspecified other impact via a crafted embedded bitmap (bnc#916862).
- CVE-2014-9665: The Load_SBit_Png function in sfnt/pngshim.c in FreeType before 2.5.4 did not restrict the rows and pitch values of PNG data, which allowed 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 (bnc#916863).
- CVE-2014-9664: FreeType before 2.5.4 did not check for the end of the data during certain parsing actions, which allowed remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted Type42 font, related to type42/t42parse.c and type1/t1load.c (bnc#916864).
- CVE-2014-9669: Multiple integer overflows in sfnt/ttcmap.c in FreeType before 2.5.4 allowed remote attackers to cause a denial of service (out-of-bounds read or memory corruption) or possibly have unspecified other impact via a crafted cmap SFNT table (bnc#916870).
- CVE-2014-9668: The woff_open_font function in sfnt/sfobjs.c in FreeType before 2.5.4 proceeds with offset+length calculations without restricting length values, which allowed remote attackers to cause a denial of service (integer overflow and heap-based buffer overflow) or possibly have unspecified other impact via a crafted Web Open Font Format (WOFF) file (bnc#916868).
- CVE-2014-9656: The tt_sbit_decoder_load_image function in sfnt/ttsbit.c in FreeType before 2.5.4 did not properly check for an integer overflow, which allowed remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted OpenType font (bnc#916847).
- CVE-2014-9658: The tt_face_load_kern function in sfnt/ttkern.c in FreeType before 2.5.4 enforces an incorrect minimum table length, which allowed remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted TrueType font (bnc#916857).
- CVE-2014-9659: cff/cf2intrp.c in the CFF CharString interpreter in FreeType…
- Record
SUSE-SU-2015:0455-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:20204-1 No score
Security update for freetype2
This update for freetype2 fixes the following issues:
Update to 2.13.2:
- Some fields in the
FT_Outlinestructure have been changed from signed to unsigned type, which better reflects the actual usage. It is also an additional means to protect against malformed input. - Rare double-free crashes in the cache subsystem have been fixed.
- Excessive stack allocation in the autohinter has been fixed.
- The B/W rasterizer has received a major upkeep that results in large performance improvements. The rendering speed has increased and even doubled for very complex glyphs.
- Record
SUSE-SU-2025:20204-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
freetypeDebian:12 |
before 2.5.2-1.1 | 2.5.2-1.1 |
freetypeDebian:13 |
before 2.5.2-1.1 | 2.5.2-1.1 |
freetypeDebian:14 |
before 2.5.2-1.1 | 2.5.2-1.1 |
freetype2Mageia:4 From an advisory covering 2 CVEs |
before 2.5.0.1-3.1.mga4 | 2.5.0.1-3.1.mga4 |
freetype2Mageia:4 From an advisory covering 2 CVEs |
before 2.5.0.1-3.1.mga4.tainted | 2.5.0.1-3.1.mga4.tainted |
freetype2SUSE:Linux Enterprise Desktop 12 From an advisory covering 21 CVEs |
before 2.5.3-5.1 | 2.5.3-5.1 |
ft2demosSUSE:Linux Enterprise Desktop 12 From an advisory covering 21 CVEs |
before 2.5.3-5.1 | 2.5.3-5.1 |
freetype2SUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 21 CVEs |
before 2.5.3-5.1 | 2.5.3-5.1 |
freetype2SUSE:Linux Enterprise Server 12 From an advisory covering 21 CVEs |
before 2.5.3-5.1 | 2.5.3-5.1 |
ft2demosSUSE:Linux Enterprise Server 12 From an advisory covering 21 CVEs |
before 2.5.3-5.1 | 2.5.3-5.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
freetype2SUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 21 CVEs |
before 2.5.3-5.1 | 2.5.3-5.1 |
ft2demosSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 21 CVEs |
before 2.5.3-5.1 | 2.5.3-5.1 |
freetype2SUSE:Linux Micro 6.0 From an advisory covering 7 CVEs |
before 2.13.3-1.1 | 2.13.3-1.1 |
ft2demosopenSUSE:Tumbleweed From an advisory covering 32 CVEs |
before 2.7-1.1 | 2.7-1.1 |
freetype2openSUSE:Tumbleweed From an advisory covering 55 CVEs |
before 2.7-1.1 | 2.7-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-2014-2240 is a high vulnerability (CVSS 7.5) in Freetype, published March 12, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 7.01%, the 94th percentile. Fixed in freetype 2.5.2-1.1.
References
secunia.com/advisories/57291
securitytracker.com/id/1029895
ubuntu.com/usn/USN-2148-1
secunia.com/advisories/57447
freetype.org/index.html
savannah.nongnu.org/bugs?41697
Show 98 moreShow less
sourceforge.net/projects/freetype/files/freetype2/2.5.3
securityfocus.com/bid/66074
nvd.nist.gov/vuln/detail/CVE-2014-2240
github.com/advisories/GHSA-pwqv-2w23-722w
security-tracker.debian.org/tracker/CVE-2014-2240
advisories.mageia.org/MGASA-2014-0130.html
bugs.mageia.org/show_bug.cgi?id=12986
bugzilla.redhat.com/show_bug.cgi?id=1074646
bugs.debian.org/cgi-bin/bugreport.cgi?bug=741299
suse.com/support/update/announcement/2015/suse-su-20150455-1
bugzilla.suse.com/916847
bugzilla.suse.com/916856
bugzilla.suse.com/916857
bugzilla.suse.com/916858
bugzilla.suse.com/916859
bugzilla.suse.com/916860
bugzilla.suse.com/916861
bugzilla.suse.com/916862
bugzilla.suse.com/916863
bugzilla.suse.com/916864
bugzilla.suse.com/916865
bugzilla.suse.com/916867
bugzilla.suse.com/916868
bugzilla.suse.com/916870
bugzilla.suse.com/916871
bugzilla.suse.com/916872
bugzilla.suse.com/916873
bugzilla.suse.com/916874
bugzilla.suse.com/916879
bugzilla.suse.com/916881
suse.com/security/cve/CVE-2014-2240
suse.com/security/cve/CVE-2014-9656
suse.com/security/cve/CVE-2014-9657
suse.com/security/cve/CVE-2014-9658
suse.com/security/cve/CVE-2014-9659
suse.com/security/cve/CVE-2014-9660
suse.com/security/cve/CVE-2014-9661
suse.com/security/cve/CVE-2014-9662
suse.com/security/cve/CVE-2014-9663
suse.com/security/cve/CVE-2014-9664
suse.com/security/cve/CVE-2014-9665
suse.com/security/cve/CVE-2014-9666
suse.com/security/cve/CVE-2014-9667
suse.com/security/cve/CVE-2014-9668
suse.com/security/cve/CVE-2014-9669
suse.com/security/cve/CVE-2014-9670
suse.com/security/cve/CVE-2014-9671
suse.com/security/cve/CVE-2014-9672
suse.com/security/cve/CVE-2014-9673
suse.com/security/cve/CVE-2014-9674
suse.com/security/cve/CVE-2014-9675
suse.com/support/update/announcement/2025/suse-su-202520204-1
bugzilla.suse.com/1035807
bugzilla.suse.com/1036457
bugzilla.suse.com/1079600
bugzilla.suse.com/1198823
bugzilla.suse.com/1198830
bugzilla.suse.com/1198832
bugzilla.suse.com/867620
suse.com/security/cve/CVE-2014-2241
suse.com/security/cve/CVE-2017-8105
suse.com/security/cve/CVE-2017-8287
suse.com/security/cve/CVE-2022-27404
suse.com/security/cve/CVE-2022-27405
suse.com/security/cve/CVE-2022-27406
suse.com/security/cve/CVE-2009-0946
suse.com/security/cve/CVE-2010-2497
suse.com/security/cve/CVE-2010-2805
suse.com/security/cve/CVE-2010-3053
suse.com/security/cve/CVE-2010-3054
suse.com/security/cve/CVE-2010-3311
suse.com/security/cve/CVE-2010-3814
suse.com/security/cve/CVE-2011-0226
suse.com/security/cve/CVE-2012-5668
suse.com/security/cve/CVE-2012-5669
suse.com/security/cve/CVE-2012-5670
suse.com/security/cve/CVE-2010-3855
suse.com/security/cve/CVE-2011-3256
suse.com/security/cve/CVE-2011-3439
suse.com/security/cve/CVE-2012-1126
suse.com/security/cve/CVE-2012-1127
suse.com/security/cve/CVE-2012-1128
suse.com/security/cve/CVE-2012-1129
suse.com/security/cve/CVE-2012-1130
suse.com/security/cve/CVE-2012-1131
suse.com/security/cve/CVE-2012-1132
suse.com/security/cve/CVE-2012-1133
suse.com/security/cve/CVE-2012-1134
suse.com/security/cve/CVE-2012-1135
suse.com/security/cve/CVE-2012-1136
suse.com/security/cve/CVE-2012-1137
suse.com/security/cve/CVE-2012-1138
suse.com/security/cve/CVE-2012-1139
suse.com/security/cve/CVE-2012-1140
suse.com/security/cve/CVE-2012-1141
suse.com/security/cve/CVE-2012-1142
suse.com/security/cve/CVE-2012-1143
suse.com/security/cve/CVE-2012-1144
Left out here: the rest of 1 source description. The JSON record has them.