CVEvulnerability
CVE-2017-10686
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-06-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.8 HIGH — CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-416
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.
Affected configurations
• nasm netwide assembler 2.14
• canonical ubuntu linux 14.04
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://bugzilla.nasm.us/show_bug.cgi?id=3392414 Exploit, Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201903-19 security.gentoo.org
- https://usn.ubuntu.com/3694-1/ Third Party Advisory
- https://bugzilla.nasm.us/show_bug.cgi?id=3392414 Exploit, Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201903-19 security.gentoo.org
- https://usn.ubuntu.com/3694-1/ Third Party Advisory