CVE-2017-10686

HIGH

Netwide Assembler 2.14rc0 - Use-After-Free in Token Handling

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3694-1/
Exploit, Issue Tracking, Patch, Third Party Advisory, VDB Entry x_refsource_misc
https://bugzilla.nasm.us/show_bug.cgi?id=3392414
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201903-19

Scores

CVSS v3 7.8
EPSS 0.0295
EPSS Percentile 85.5%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (2)
canonical/ubuntu_linux 14.04
nasm/netwide_assembler 2.14 rc0
Published Jun 29, 2017
Tracked Since Feb 18, 2026