Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS vector (AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N) indicates local-only attack requiring low privileges, high complexity (specific path length trigger), and user interaction. The impact claims high confidentiality and integrity but no availability impact, contradicting the description's explicit mention of STATUS_STACK_BUFFER_OVERRUN crashes; this inconsistency suggests the CVSS may understate practical risk. Lack of KEV status and confirmed public exploit code reduces immediate real-world threat, but stack overflows on local systems can enable privilege escalation or code execution if exploited properly. The high complexity requirement (exact 259-character path without trailing backslash) acts as a natural exploit filter, reducing attack surface. This is a medium-priority issue: credible but not immediately critical, especially compared to remote or unauthenticated overflow vulnerabilities. Organizations with shared workstations or untrusted local users should prioritize patching. |
| Exploit ScenarioDerived | A local user with limited privileges (e.g., guest account on a shared workstation) crafts a directory path of exactly 259 characters without a trailing backslash-for example, a deep nested folder structure on a shared drive-and drags it into an open Notepad++ window. The application's file drop handler appends a backslash and null terminator without bounds checking, writing 261+ bytes into a fixed-size stack buffer and triggering a STATUS_STACK_BUFFER_OVERRUN crash. While the current disclosure emphasizes application crash, such stack overflows on x86/x64 systems can be leveraged for code execution by carefully crafting the path to overwrite the return address; no public proof-of-concept demonstrating code execution has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
Stack-based buffer overflow in Notepad++ 8.9.3 file drop handler allows local authenticated users to cause application crash and potentially execute code by dragging and dropping a directory path of exactly 259 characters without a trailing backslash, triggering unbounded buffer write via automatic backslash and null terminator appending. CVSS 6.0 (High) reflects local attack vector and high complexity; no public exploit code or active KEV status identified, but upstream fix is confirmed available.
RemediationAI
Users should upgrade to a patched version released after commit bfe7514d68bc559534c046c4ef2d1865267aa2b0 (available at https://github.com/notepad-plus-plus/notepad-plus-plus/pull/17930). The exact patched release version is not explicitly confirmed in the provided data, but the pull request and commit indicate the fix is integrated upstream; check the official Notepad++ releases page for the earliest version incorporating this commit (typically the next minor or patch release after 8.9.3). As a workaround, avoid dragging and dropping directory paths longer than 257 characters into Notepad++, or ensure paths include a trailing backslash. Administrators managing shared systems should deploy the patched version as soon as it becomes generally available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in Notepad++'s drag-and-drop file handler, which processes directory paths without proper bounds validation before appending path separators and null terminators to a fixed-size stack buffer. The 259-character path length represents a critical boundary condition-likely related to MAX_PATH (260 on Windows) minus one-where the automatic appending of a backslash and null terminator exceeds the buffer's allocated size. This is a classic stack-based buffer overflow (CWE-121: Stack-based Buffer Overflow). The Notepad++ project CPE indicates all versions in the 8.x series are potentially affected, though the issue is specifically confirmed in 8.9.3. The vulnerability requires user interaction (drag-and-drop UI action) and local system access, limiting remote exploitation potential.
Know when Notepad gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
A stack-based buffer overflow vulnerability exists in Notepad++ version 8.9.3 in the file drop handler component. When a user drags and drops a directory path of exactly 259 characters without a trailing backslash, the application appends a backslash and null terminator without proper bounds checking, resulting in a stack buffer overflow and application crash (STATUS_STACK_BUFFER_OVERRUN).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Buffer overflow in NotePad++ 6.6.9 allows remote attackers to have unspecified impact via a long Time attribute in an Ev
Notepad++ versions prior to 8.8.9 contain an update integrity verification vulnerability (CVE-2025-15556) when using the
memono Notepad 4.2 contains a denial of service vulnerability that allows attackers to crash the application by pasting
An Untrusted search path vulnerability in notepad++ 6.5 allows local users to gain escalated privileges through the msim
Notepad++ is a free and open-source source code editor. Rated high severity (CVSS 7.8), this vulnerability is no authent
Notepad++ versions 8.4.1 and before are vulnerable to DLL hijacking where an attacker can replace the vulnerable dll (Ux
SciLexer.dll in Scintilla in Notepad++ (x64) before 7.7 allows remote code execution or denial of service via Unicode ch
Notepad++ versions before 8.9.2 allow local code execution through an unsafe search path vulnerability that permits atta
String injection in Notepad++ 8.9.3 leads to memory address disclosure or application crash when processing maliciously
Notepad++ v8.4.1 was discovered to contain a stack overflow via the component Finder::add(). Rated medium severity (CVSS
Notepad++ is a free and open-source source code editor. Rated medium severity (CVSS 5.5), this vulnerability is no authe
Notepad++ is a free and open-source source code editor. Rated medium severity (CVSS 5.5), this vulnerability is no authe
EUVD-2026-21334
GHSA-8hrp-2fqv-gvrx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB