CVE-2018-6942
CVE-2018-6942 is a medium-severity vulnerability in Freetype with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-476.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 2% (80th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-476
- Affected product: Freetype
- Published:
- Last modified:
Description
An issue was discovered in FreeType 2 through 2.9. A NULL pointer dereference in the Ins_GETVARIATION() function within ttinterp.c could lead to DoS via a crafted font file.
Frequently asked questions
- What is CVE-2018-6942?
- An issue was discovered in FreeType 2 through 2.9. A NULL pointer dereference in the Ins_GETVARIATION() function within ttinterp.c could lead to DoS via a crafted font file.
- How severe is CVE-2018-6942?
- CVE-2018-6942 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2018-6942 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (80th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-6942?
- CVE-2018-6942 primarily affects Freetype. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2018-6942?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2018-6942 published?
- CVE-2018-6942 was published on 2018-02-13 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00054.html
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5736
- https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=29c759284e305ec428703c9a5831d0b1fc3497ef
- https://usn.ubuntu.com/3572-1/
- https://www.oracle.com/security-alerts/cpuapr2020.html
Affected products (2)
- cpe:2.3:a:freetype:freetype:*:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
More vulnerabilities in Freetype
- CVE-2012-1126 — Critical (CVSS 10.0): FreeType before 2.4.9, as used in Mozilla Firefox Mobile before 10.0.4 and other products, allows remote attackers to…
- CVE-2022-27404 — Critical (CVSS 9.8): FreeType commit 1e2eb65048f75c64b68708efed6ce904c31f3b2f was discovered to contain a heap buffer overflow via the…
- CVE-2015-9290 — Critical (CVSS 9.8): In FreeType before 2.6.1, a buffer over-read occurs in type1/t1parse.c on function T1_Get_Private_Dict where there is…
- CVE-2017-8287 — Critical (CVSS 9.8): FreeType 2 before 2017-03-26 has an out-of-bounds write caused by a heap-based buffer overflow related to the…
- CVE-2017-8105 — Critical (CVSS 9.8): FreeType 2 before 2017-03-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the…
- CVE-2017-7864 — Critical (CVSS 9.8): FreeType 2 before 2017-02-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the…
Other CWE-476 (NULL Pointer Dereference) vulnerabilities
- CVE-2022-36648 — Critical (CVSS 10.0): The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier,…
- CVE-2020-14500 — Critical (CVSS 10.0): Secomea GateManager all versions prior to 9.2c, An attacker can send a negative value and overwrite arbitrary data.
- CVE-2010-2495 — Critical (CVSS 10.0): The pppol2tp_xmit function in drivers/net/pppol2tp.c in the L2TP implementation in the Linux kernel before 2.6.34 does…
- CVE-2026-46195 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: smb: client: validate dacloffset before building…
- CVE-2026-31657 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: batman-adv: hold claim backbone gateways by…
- CVE-2026-31436 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: fix possible wrong descriptor…
Browse all CWE-476 (NULL Pointer Dereference) vulnerabilities →