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

CVSS 7.8 · High

Possible ATT&CK Techniques 1AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilitiesLog 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

Affected Products

VendorProductAffected VersionsCPESubscribe
notepad-plus-plusnotepad-plus-plus < 8.9.7 -

II. Public POCs for CVE-2026-54758

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
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-572338.1 HIGHNotepad++: Path Traversal (Zip Slip) in WinGup Plugin Extraction
CVE-2026-718585.4 MEDIUMNotepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution
CVE-2026-528865.1 MEDIUMNotepad++: session.xml backupFilePath starts_with Bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-54758

No comments yet


Leave a comment