CVE-2026-54758
Notepad++ is a free and open-source source code editor. Prior to 8.9.7, the expandNppEnvironmentStrs function in PowerEditor/src/WinControls/StaticDialog/RunDlg/RunDlg.cpp copies a Notepad++ variable name between $( and ) into the fixed-size wchar_t str[MAX_PATH] stack buffer without bounding the m loop index, allowing a name of 260 or more characters to corrupt adjacent stack data, terminate the process through __report_gsfailure, and potentially execute code. This issue is fixed in version 8.9.7.
- Affected products
- Notepad++
- Fix
- Available
- CVSS 3.1
- 7.8 HIGH
- EPSS
- 0.2% (9th percentile)
- Weakness
- CWE-787, CWE-121
- NVD status
- Received
- Published
- 2026-08-17
CVE-2026-54758 at NVD
No indexed exploits for CVE-2026-54758 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2026-54758 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.