6.0Medium
CVE-2026-5525Stack-Based Buffer Overflow in Notepad++ File Drop Handler leads to DoS
Description
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).
Weakness (CWE):
CWE-121
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| notepad-plus-plus | notepad++ | 8.9.3 | |
| Notepad++ Project | Notepad++ | 8.9.3, fixed 8.9.4 |
References and patches
- https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17921 ExploitIssue TrackingMitigationVendor Advisory
- https://github.com/notepad-plus-plus/notepad-plus-plus/pull/17930 Issue TrackingPatch
- https://github.com/notepad-plus-plus/notepad-plus-plus/commit/bfe7514d68bc559534c046c4ef2d1865267aa2b0 Patch
CPE matches (NVD) (1)
cpe:2.3:a:notepad-plus-plus:notepad\+\+:8.9.3:*:*:*:*:*:*:*