CVE-2017-10686
In Netwide Assembler (NASM) 2.14rc0, there are multiple heap use after free vulnerabilities in the tool nasm.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.95%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 2.95% probability · 86th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-416
- Affected
- nasm/netwide assembler · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- https://bugzilla.nasm.us/show_bug.cgi?id=3392414Exploit, Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201903-19
- https://usn.ubuntu.com/3694-1/Third Party Advisory
- https://bugzilla.nasm.us/show_bug.cgi?id=3392414Exploit, Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201903-19
- https://usn.ubuntu.com/3694-1/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.