CVE-2018-6942 Null dereference in n/a
A NULL pointer dereference in FreeType allows attackers to cause a denial of service via a crafted font file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-6942?
CVE-2018-6942 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 13 Feb 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2018-6942?
It affects 2 products.
Linux distribution packages (3)
freetype2 SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 2.10.1-4.3.1 |
freetype2 openSUSE:Leap 15.1 | All versions | 2.10.1-lp151.4.3.1 |
ft2demos openSUSE:Leap 15.1 | All versions | 2.10.1-lp151.4.3.1 |
Products include Canonical Ubuntu Linux, Freetype Freetype.
How do I fix CVE-2018-6942?
Apply the vendor's patch.
Is CVE-2018-6942 being exploited?
There is no known exploitation of CVE-2018-6942 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-6942, DEBIAN-CVE-2018-6942, GHSA-pjfg-6mwr-j367, MGASA-2018-0140, SUSE-SU-2020:1353-1, openSUSE-SU-2020:0704-1.