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).
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-427"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42171.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "3.06.1"
},
{
"fixed": "3.12"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"introduced": "3.06.1"
},
{
"fixed": "3.12"
}
],
"source": "CPE_FIELD"
},
{
"extracted_events": [
{
"introduced": "3.06.1"
},
{
"fixed": "3.12"
}
],
"source": "DESCRIPTION"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42171.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"40512102880778658124896654791287957887",
"55883558779287910620366181330180973683",
"171359798556859465837194176206311633652",
"293583849916359373402897435193249486875",
"136849797675635699153538033358179384812",
"314530838814439634160380642676912934191"
],
"threshold": 0.9
},
"id": "CVE-2026-42171-336dc970",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/nsis-dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca",
"target": {
"file": "Source/exehead/Main.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "192538915003321576615560420739527501523",
"length": 7211
},
"id": "CVE-2026-42171-52b4332c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/nsis-dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca",
"target": {
"file": "Source/exehead/Main.c",
"function": "NSISWinMainNOCRT"
}
}
]
"2026-08-12T16:24:18Z"