CVE-2026-54758

HIGH CVSS 3.1: 7.8 EPSS 0.19%
Updated Sep 10, 2026
Notepad
Parameter Value
CVSS 7.8 (HIGH)
Fixed In 8.9.7
Type CWE-787 (Out-of-bounds Write), CWE-121 (Stack-based Buffer Overflow)
Vendor Notepad
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1