freetype: OOB stack-based read/write in cf2_hintmap_build()
Published Mar 12, 2014
7.5
HIGHCVSS 2.0
EPSS 6.88%
Description
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.
Affected products
No data.
- ≤ 2.5.2
- 1.3.1
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 2.1
- 2.1.3
- 2.1.4
- 2.1.5
- 2.1.6
- 2.1.7
- 2.1.8
- 2.1.8
- 2.1.9
- 2.1.10
- 2.2.0
- 2.2.1
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.5
- 2.3.6
- 2.3.7
- 2.3.8
- 2.3.9
- 2.3.10
- 2.3.11
- 2.3.12
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.4.4
- 2.4.5
- 2.4.6
- 2.4.7
- 2.4.8
- 2.4.9
- 2.4.10
- 2.4.11
- 2.4.12
- 2.5
- 2.5.1
No data.
Red Hat Enterprise Linux 5
freetype
Not affected
Red Hat Enterprise Linux 6
freetype
Not affected
Red Hat Enterprise Linux 7
freetype
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | freetype | Not affected | n/a |
| Red Hat Enterprise Linux 6 | freetype | Not affected | n/a |
| Red Hat Enterprise Linux 7 | freetype | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the versions of freetype as shipped with Red Hat Enterprise Linux 5, 6 and 7.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.88% (0.06882) | 93.86th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.22% (0.06224) | 92.61th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.13% (0.02127) | 82.61th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.17% (0.05173) | 82.78th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.13% (0.02127) | 82.98th | v4 (v2025.03.14) |
| Dec 17, 2024 | 9.03% (0.09029) | 94.61th | v3 (v2023.03.01) |
| Sep 6, 2023 | 13.91% (0.13914) | 94.96th | v3 (v2023.03.01) |
| Mar 7, 2023 | 13.84% (0.13836) | 94.71th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.47% (0.05470) | 89.98th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.47% (0.05470) | 89.00th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.47% (0.05470) | 76.60th | v2 (v2022.01.01) |
References (12)
- http://savannah.nongnu.org/bugs/?41697 x_refsource_CONFIRM
- http://secunia.com/advisories/57291 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/57447 third-party-advisoryx_refsource_SECUNIA
- http://sourceforge.net/projects/freetype/files/freetype2/2.5.3 x_refsource_CONFIRM
- http://www.freetype.org/index.html x_refsource_CONFIRMPatchVendor Advisory
- http://www.securityfocus.com/bid/66074 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1029895 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-2148-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2014-2240 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1074646 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2014-2240
- https://www.cve.org/CVERecord?id=CVE-2014-2240
| Link | Providers | Tags |
|---|---|---|
| http://savannah.nongnu.org/bugs/?41697 | x_refsource_CONFIRM | |
| http://secunia.com/advisories/57291 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/57447 | third-party-advisoryx_refsource_SECUNIA | |
| http://sourceforge.net/projects/freetype/files/freetype2/2.5.3 | x_refsource_CONFIRM | |
| http://www.freetype.org/index.html | x_refsource_CONFIRMPatchVendor Advisory | |
| http://www.securityfocus.com/bid/66074 | vdb-entryx_refsource_BID | |
| http://www.securitytracker.com/id/1029895 | vdb-entryx_refsource_SECTRACK | |
| http://www.ubuntu.com/usn/USN-2148-1 | vendor-advisoryx_refsource_UBUNTU | |
| https://access.redhat.com/security/cve/CVE-2014-2240 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1074646 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2014-2240 | ||
| https://www.cve.org/CVERecord?id=CVE-2014-2240 |
Change history (0)
No recorded changes yet.