Skip to main content

Notepad++ CVE-2026-54758

| EUVDEUVD-2026-60372 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-08-17 security-advisories@github.com
7.8
CVSS 3.1 · Vendor: github
Share

Severity by source

Vendor (github) PRIMARY
7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI
7.8 HIGH

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).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch available
Aug 17, 2026 - 21:17 EUVD
Source Code Evidence Fetched
Aug 17, 2026 - 20:34 vuln.today
Analysis Generated
Aug 17, 2026 - 20:34 vuln.today
CVE Published
Aug 17, 2026 - 20:16 cve.org
HIGH 7.8

DescriptionCVE.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

Recon
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Install
technique details hidden
C2
technique details hidden
Execute
technique details hidden
Impact
technique details hidden

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.

Share

CVE-2026-54758 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy