Every CVE Search/ Get API key

CVE-2014-2240

Stack-based buffer overflow in the cf2_hintmap_build function in cff/cf2hints.c in FreeType...

7.5 HighFix available

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

7.01%Up 1.5 points since Feb 4, 2022
90%50%10%1%

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 HighAV: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_Outline structure 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

Affected packages
PackageAffectedFixed
freetype
Debian:12
before 2.5.2-1.1
2.5.2-1.1
freetype
Debian:13
before 2.5.2-1.1
2.5.2-1.1
freetype
Debian:14
before 2.5.2-1.1
2.5.2-1.1
freetype2
Mageia:4
From an advisory covering 2 CVEs
before 2.5.0.1-3.1.mga4
2.5.0.1-3.1.mga4
freetype2
Mageia:4
From an advisory covering 2 CVEs
before 2.5.0.1-3.1.mga4.tainted
2.5.0.1-3.1.mga4.tainted
freetype2
SUSE:Linux Enterprise Desktop 12
From an advisory covering 21 CVEs
before 2.5.3-5.1
2.5.3-5.1
ft2demos
SUSE:Linux Enterprise Desktop 12
From an advisory covering 21 CVEs
before 2.5.3-5.1
2.5.3-5.1
freetype2
SUSE:Linux Enterprise Software Development Kit 12
From an advisory covering 21 CVEs
before 2.5.3-5.1
2.5.3-5.1
freetype2
SUSE:Linux Enterprise Server 12
From an advisory covering 21 CVEs
before 2.5.3-5.1
2.5.3-5.1
ft2demos
SUSE: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
Affected packages
PackageAffectedFixed
freetype2
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 21 CVEs
before 2.5.3-5.1
2.5.3-5.1
ft2demos
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 21 CVEs
before 2.5.3-5.1
2.5.3-5.1
freetype2
SUSE:Linux Micro 6.0
From an advisory covering 7 CVEs
before 2.13.3-1.1
2.13.3-1.1
ft2demos
openSUSE:Tumbleweed
From an advisory covering 32 CVEs
before 2.7-1.1
2.7-1.1
freetype2
openSUSE:Tumbleweed
From an advisory covering 55 CVEs
before 2.7-1.1
2.7-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 98 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open