Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54758— Notepad++: Stack Buffer Overflow in expandNppEnvironmentStrs

Quick assessment

Affected
notepad-plus-plus notepad-plus-plus
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

notepad++是notepad++个人开发者开源的一款轻量级的代码与文本编辑工具。 Notepad++ 8.9.7之前版本存在缓冲区错误漏洞,该漏洞源于expandNppEnvironmentStrs函数将变量名复制到固定大小栈缓冲区时未限制m循环索引,可能导致栈数据损坏、进程终止及执行代码。

CVSS 7.8 · High EPSS 0.19% · P9

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProduct Version RangeStatus
notepad-plus-plus notepad-plus-plus < 8.9.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54758

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Notepad++: Stack Buffer Overflow in expandNppEnvironmentStrs
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
Notepad++ 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
notepad++是notepad++个人开发者开源的一款轻量级的代码与文本编辑工具。 Notepad++ 8.9.7之前版本存在缓冲区错误漏洞,该漏洞源于expandNppEnvironmentStrs函数将变量名复制到固定大小栈缓冲区时未限制m循环索引,可能导致栈数据损坏、进程终止及执行代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
notepad-plus-plus notepad-plus-plus < 8.9.7 -

II. Public POCs for CVE-2026-54758

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8200 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-54758

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54758 (1)

Vendor Advisories for CVE-2026-54758 (1)

Vendor Pages for CVE-2026-54758 (1)

Same Patch Batch · notepad-plus-plus · 2026-08-17 · 4 CVEs total

CVE-2026-57233 8.1 HIGH Notepad++: Path Traversal (Zip Slip) in WinGup Plugin Extraction
CVE-2026-71858 5.4 MEDIUM Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution
CVE-2026-52886 5.1 MEDIUM Notepad++: session.xml backupFilePath starts_with Bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-54758

No comments yet


Leave a comment