# CVE-2026-42171

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-24 · Modified: 2026-04-25
- Aliases: UBUNTU-CVE-2026-42171, DEBIAN-CVE-2026-42171
- Record: https://cvemate.com/vulnerability/CVE-2026-42171 · JSON: https://cvemate.com/vulnerability/CVE-2026-42171/json

## Description

```text
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).
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.218%, percentile 12.988%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian nsis (Debian): All versions (No fix recorded) \| \< 3.12-1
- ubuntu nsis (Ubuntu): 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
- nullsoft nullsoft\_scriptable\_install\_system: ≥ 3.06.1, \< 3.12

## References

- <https://nsis.sourceforge.io/Docs/AppendixF.html#v3.12-cl>
- <https://github.com/NSIS-Dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca>
- <https://github.com/NSIS-Dev/nsis/blob/7359413009afd4f0fff472d841fc2f2cc0e0a5f8/Source/exehead/util.c#L475-L484>
- <https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-gettempfilename>
- <https://ubuntu.com/security/CVE-2026-42171>
- <https://www.cve.org/CVERecord?id=CVE-2026-42171>
- <https://security-tracker.debian.org/tracker/CVE-2026-42171>
- <https://ubuntu.com/security/notices/USN-9516-1>

---

Data as of 2026-12-05T11:51:52.480Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
