---
title: "CVE-2017-10686\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-2017-10686?format=md
keywords: index, follow
---

# CVE-2017-10686

Publication date 29 June 2017

Last updated 25 August 2025

---

Ubuntu priority

**Low**

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

## Cvss 3 Severity Score

**7.8 · High**

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

Toggle side navigation

## Description

In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free
vulnerabilities in the tool nasm. The related heap is allocated in the
token() function and freed in the detoken() function (called by
pp\_getline()) - it is used again at multiple positions later that could
cause multiple damages. For example, it causes a corrupted double-linked
list in detoken(), a double free or corruption in delete\_Token(), and an
out-of-bounds write in detoken(). It has a high possibility to lead to a
remote code execution attack.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| nasm | 18.04 LTS bionic | Not affected |
| 17.10 artful | Fixed 2.13.01-2ubuntu0.1 |
| 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Fixed 2.11.08-1ubuntu0.1 |
| 14.04 LTS trusty | Fixed 2.10.09-1ubuntu0.1 |

---

* [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-2017-10686?format=md#patch-details)

### 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 |
| --- | --- |
| nasm | * Upstream:   [736be08](http://repo.or.cz/nasm.git/commit/736be08cf3ec4d1da31f350359feb8c1c782de9a) * Upstream:   [b6a173f](http://repo.or.cz/nasm.git/commit/b6a173fad54f25f6e1cb0c3eaf230ac11fb6a070) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3694-1](https://usn.ubuntu.com/USN-3694-1)
+ NASM vulnerabilities
+ 28 June 2018

### Other references

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