{"id":"UBUNTU-CVE-2026-42171","details":"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).","modified":"2026-05-20T16:25:42.989886686Z","published":"2026-04-24T22:16:00Z","upstream":["CVE-2026-42171"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42171"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42171"}],"affected":[{"package":{"name":"nsis","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46-7","2.46-7ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.46-7ubuntu0.1~esm1","binary_name":"nsis"},{"binary_name":"nsis-common","binary_version":"2.46-7ubuntu0.1~esm1"},{"binary_version":"2.46-7ubuntu0.1~esm1","binary_name":"nsis-pluginapi"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}},{"package":{"name":"nsis","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46-10.1","2.48-2","2.50-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nsis","binary_version":"2.50-1"},{"binary_version":"2.50-1","binary_name":"nsis-common"},{"binary_name":"nsis-pluginapi","binary_version":"2.50-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}},{"package":{"name":"nsis","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.51-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nsis","binary_version":"2.51-1"},{"binary_name":"nsis-common","binary_version":"2.51-1"},{"binary_name":"nsis-pluginapi","binary_version":"2.51-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}},{"package":{"name":"nsis","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04-1","3.04-2","3.05-1","3.05-2"],"ecosystem_specific":{"binaries":[{"binary_name":"nsis","binary_version":"3.05-2"},{"binary_name":"nsis-common","binary_version":"3.05-2"},{"binary_name":"nsis-pluginapi","binary_version":"3.05-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}},{"package":{"name":"nsis","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.06.1-1","3.08-1","3.08-2"],"ecosystem_specific":{"binaries":[{"binary_name":"nsis","binary_version":"3.08-2"},{"binary_version":"3.08-2","binary_name":"nsis-common"},{"binary_version":"3.08-2","binary_name":"nsis-pluginapi"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}},{"package":{"name":"nsis","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.09-1","3.09-2","3.09-3","3.09-4","3.09-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"nsis","binary_version":"3.09-4ubuntu1"},{"binary_name":"nsis-common","binary_version":"3.09-4ubuntu1"},{"binary_name":"nsis-pluginapi","binary_version":"3.09-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}},{"package":{"name":"nsis","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"nsis","binary_version":"3.10-2ubuntu1"},{"binary_version":"3.10-2ubuntu1","binary_name":"nsis-common"},{"binary_name":"nsis-pluginapi","binary_version":"3.10-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}},{"package":{"name":"nsis","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nsis?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10-2ubuntu1","3.10-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.10-2ubuntu2","binary_name":"nsis"},{"binary_version":"3.10-2ubuntu2","binary_name":"nsis-common"},{"binary_version":"3.10-2ubuntu2","binary_name":"nsis-pluginapi"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42171.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}