๐Ÿ” CVE Alert

CVE-2026-54758

HIGH 7.8

Notepad++: Stack Buffer Overflow in expandNppEnvironmentStrs

CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-121 CWE-787
Vendor notepad-plus-plus
Product notepad-plus-plus
Published Aug 17, 2026
Last Updated Aug 17, 2026
Stay Ahead of the Next One

Get instant alerts for notepad-plus-plus notepad-plus-plus

Be the first to know when new high vulnerabilities affecting notepad-plus-plus notepad-plus-plus are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

notepad-plus-plus / notepad-plus-plus
< 8.9.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-gv94-327x-2gc5 github.com: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/0a9527e9f7140a2323e25d14e362b46ee0efc3db github.com: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7