---
title: "CVE-2018-6942\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-6942?format=md
keywords: index, follow
---

# CVE-2018-6942

Publication date 13 February 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2018-6942?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2018-6942?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| freetype | 17.10 artful | Fixed 2.8-0.2ubuntu2.1 |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-6942?format=md#patch-details)

## Notes

---

### [leosilva](https://launchpad.net/~leosilva)

for precise/esm, trusty and xenial code affected is not present.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| freetype | * Upstream:   [?id=29c](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=29c759284e305ec428703c9a5831d0b1fc3497ef) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6942)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-6942)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-6942)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-6942)

### Related Ubuntu Security Notices (USN)

+ [USN-3572-1](https://usn.ubuntu.com/USN-3572-1)
+ FreeType vulnerability
+ 14 February 2018

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2018-6942>
