Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local attack vector (AV:L) as no network path exists; user must interact with Run Dialog (UI:R); no attacker privileges needed since exploitation relies on a crafted input file (PR:N).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
Stack-based buffer overflow in Notepad++ before version 8.9.7 enables local code execution or process termination through the Run Dialog's variable expansion routine. The expandNppEnvironmentStrs function copies Notepad++ variable names from $(...) syntax into a fixed-size wchar_t str[MAX_PATH] stack buffer without bounding the loop index m, allowing any variable name of 260 or more wide characters to corrupt adjacent stack memory and trigger __report_gsfailure or, with precise crafting, execute arbitrary code. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires Notepad++ prior to version 8.9.7 running on Windows, and the victim must actively trigger the Run Dialog with input containing a `$(VARIABLE_NAME)` token where the variable name is 260 or more wide characters in length. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The CVSS 7.8 score is reasonable given High impacts on Confidentiality, Integrity, and Availability, but the local-only attack vector (AV:L) and mandatory user interaction (UI:R) substantially constrain real-world exploitation. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | The primary remediation is upgrading Notepad++ to version 8.9.7 or later, available at https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours: Identify all Notepad++ installations and versions across corporate endpoints using your asset inventory or EDR tools. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Stack Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-60372