{"schemaVersion":4,"id":"CVE-2017-10686","aliases":["SUSE-SU-2017:2045-1","UBUNTU-CVE-2017-10686","DEBIAN-CVE-2017-10686"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-06-29T23:00:00.000Z","modified":"2024-08-05T17:41:55.713Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.02946,"percentile":0.87587,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.02946},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04445,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.02946,"percentile":0.87587}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02946,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.02946,"percentile":0.87587}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_B05939E0655FCBDD","name":"Exploit Reference (bugzilla.nasm.us)","source":"reference","url":"https://bugzilla.nasm.us/show_bug.cgi?id=3392414","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"14.04"}}],"versionsText":"14.04","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"nasm","name":"nasm","label":"nasm","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/nasm","purlType":"deb","versions":[{"text":"< 2.13.02-0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.13.02-0.1","endInclusive":false}}],"versionsText":"< 2.13.02-0.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nasm","name":"nasm","label":"nasm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nasm","purlType":"deb","versions":[{"text":"< 2.10.09-1ubuntu0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.10.09-1ubuntu0.1","endInclusive":false}},{"text":"< 2.11.08-1ubuntu0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.11.08-1ubuntu0.1","endInclusive":false}}],"versionsText":"< 2.10.09-1ubuntu0.1 | < 2.11.08-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"nasm","product":"netwide_assembler","name":"netwide assembler","label":"netwide_assembler","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.14:rc0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.14:rc0"}}],"versionsText":"2.14:rc0","eol":null,"hubHref":"/vendor/nasm/netwide_assembler"},{"vendor":"suse","product":"nasm&distro=SUSE Linux Enterprise Software Development Kit 11 SP4","name":"nasm","label":"nasm&distro=SUSE Linux Enterprise Software Development Kit 11 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/nasm&distro=SUSE Linux Enterprise Software Development Kit 11 SP4","purlType":"rpm","versions":[{"text":"< 2.03.90-2.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.03.90-2.3.1","endInclusive":false}}],"versionsText":"< 2.03.90-2.3.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://usn.ubuntu.com/3694-1/","label":"usn.ubuntu.com/3694-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://bugzilla.nasm.us/show_bug.cgi?id=3392414","label":"bugzilla.nasm.us/show_bug.cgi?id=3392414","hostname":"bugzilla.nasm.us","tags":["X Refsource MISC","Exploit","Issue Tracking","Patch","Third Party Advisory","VDB Entry"]},{"url":"https://security.gentoo.org/glsa/201903-19","label":"security.gentoo.org/glsa/201903-19","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20172045-1/","label":"www.suse.com/support/update/announcement/2017/suse-su-20172045-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1047936","label":"bugzilla.suse.com/1047936","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-10686","label":"www.suse.com/security/cve/CVE-2017-10686","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-10686","label":"ubuntu.com/security/CVE-2017-10686","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3694-1","label":"ubuntu.com/security/notices/USN-3694-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-10686","label":"www.cve.org/CVERecord?id=CVE-2017-10686","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-10686","label":"security-tracker.debian.org/tracker/CVE-2017-10686","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1041-1","MGASA-2017-0294","SUSE-SU-2017:2044-1","SUSE-SU-2019:14246-1","USN-3694-1"],"duplicates":[],"related":["SUSE-SU-2017:2044-1","SUSE-SU-2019:14246-1","USN-3694-1"]},"timeline":[{"kind":"published","date":"2017-06-29T23:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T17:41:55.713Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (reference, Date unknown)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,1,3,78],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.02946,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-05T17:41:55.713Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-05T17:41:55.713Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-05T17:41:55.713Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"cvss","source":"osv_debian","date":"2024-08-05T17:41:55.713Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.02946,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:04:14.650Z","stale":false,"partial":false}}