CVE-2017-10686 json
In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free vulnerabilities in the tool nasm.
published 2017-06-29 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-2333
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nasm Debian 14, Debian 13, Debian 12 2.13.02-0.1
debian advisories DEBIAN-CVE-2017-10686
- nasm Ubuntu 14.04 LTS 2.10.09-1ubuntu0.1
- nasm Ubuntu 16.04 LTS 2.11.08-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2017-10686
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nasm SLE Software Development Kit 11 SP4 2.03.90-2.3.1
- nasm SLE Software Development Kit 12 SP3, SLE Software Development Kit 12 SP2 2.10.09-4.5.1
- firefox-atk SLES 11 SP4-LTSS 2.26.1-2.8.4
- mozilla-nss SLES 11 SP4-LTSS 3.45-38.9.3
- firefox-gtk3 SLES 11 SP4-LTSS 3.10.9-2.15.3
- mozilla-nspr SLES 11 SP4-LTSS 4.21-29.6.1
- firefox-cairo SLES 11 SP4-LTSS 1.15.10-2.13.4
- firefox-glib2 SLES 11 SP4-LTSS 2.54.3-2.14.7
suse advisories SUSE-SU-2019:14246-1SUSE-SU-2017:2045-1SUSE-SU-2017:2044-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-10686 updated cvss 5.3
nasm: Use-after-free in the detoken() function
-
Red Hat Enterprise Linux 7 nasm, nasm-rdoffaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 nasm Red Hat Enterprise Linux 6 nasm, nasm-rdoffnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.95% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.nasm.us https://bugzilla.nasm.us/show_bug.cgi?id=3392414 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
bugzilla.nasm.us
/show_bug.cgi?id=3392414
exploit, issue-tracking, patch, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3694-1/
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201903-19
vendor-advisory
Sources
- CVE List CVE-2017-10686
- NVD CVE-2017-10686
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.