{"schemaVersion":4,"id":"CVE-2026-42171","aliases":["UBUNTU-CVE-2026-42171","DEBIAN-CVE-2026-42171"],"status":"published","duplicateOf":null,"title":null,"description":"NSIS (Nullsoft Scriptable Install System) 3.06.1 before 3.12 sometimes uses the Low IL temp directory when executing as SYSTEM, allowing local attackers to gain privileges (if they can cause my_GetTempFileName to return 0, as shown in the references).","dates":{"published":"2026-04-24T21:20:35.525Z","modified":"2026-04-25T19:33:05.317Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/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.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/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.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00218,"percentile":0.12988,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.008000000000000021,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0021},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00218,"percentile":0.12988}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00248,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00218,"percentile":0.12988}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-427","name":"Uncontrolled Search Path Element","description":"The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/427.html"}],"affected":[{"vendor":"debian","product":"nsis","name":"nsis","label":"nsis","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/nsis","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 3.12-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.12-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 3.12-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nsis","name":"nsis","label":"nsis","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nsis","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 3.05-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.05-2ubuntu0.1~esm1","endInclusive":false}},{"text":"< 3.08-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.08-2ubuntu0.1~esm1","endInclusive":false}},{"text":"< 3.09-4ubuntu1+esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.09-4ubuntu1+esm1","endInclusive":false}},{"text":"< 3.10-2ubuntu2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.10-2ubuntu2.1","endInclusive":false}},{"text":"< 3.10-2ubuntu2+esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.10-2ubuntu2+esm1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 3.05-2ubuntu0.1~esm1 | < 3.08-2ubuntu0.1~esm1 | < 3.09-4ubuntu1+esm1 | < 3.10-2ubuntu2.1 | < 3.10-2ubuntu2+esm1","eol":null,"hubHref":null},{"vendor":"nullsoft","product":"nullsoft_scriptable_install_system","name":"nullsoft scriptable install system","label":"nullsoft_scriptable_install_system","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.06.1, < 3.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.06.1","startInclusive":true,"end":"3.12","endInclusive":false}}],"versionsText":"≥ 3.06.1, < 3.12","eol":null,"hubHref":"/vendor/nullsoft/nullsoft_scriptable_install_system"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nsis.sourceforge.io/Docs/AppendixF.html#v3.12-cl","label":"nsis.sourceforge.io/Docs/AppendixF.html","hostname":"nsis.sourceforge.io","tags":["Release Notes"]},{"url":"https://github.com/NSIS-Dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca","label":"github.com/NSIS-Dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/NSIS-Dev/nsis/blob/7359413009afd4f0fff472d841fc2f2cc0e0a5f8/Source/exehead/util.c#L475-L484","label":"github.com/NSIS-Dev/nsis/blob/7359413009afd4f0fff472d841fc2f2cc0e0a5f8/Source/exehead/util.c","hostname":"github.com","tags":["Product"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-gettempfilename","label":"learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-gettempfilename","hostname":"learn.microsoft.com","tags":["Product"]},{"url":"https://ubuntu.com/security/CVE-2026-42171","label":"ubuntu.com/security/CVE-2026-42171","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42171","label":"www.cve.org/CVERecord?id=CVE-2026-42171","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-42171","label":"security-tracker.debian.org/tracker/CVE-2026-42171","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-9516-1","label":"ubuntu.com/security/notices/USN-9516-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-9516-1"],"duplicates":[],"related":["USN-9516-1"]},"timeline":[{"kind":"published","date":"2026-04-24T21:20:35.525Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-25T19:33:05.317Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,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.00218,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-04-25T19:33:05.317Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-04-25T19:33:05.317Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-04-25T19:33:05.317Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-04-25T19:33:05.317Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-04-25T01:56:27.818Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00218,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T12:36:34.350Z","stale":false,"partial":false}}