Buffer overflow in Notepad-Plus-Plus Notepad\+\+
CVE-2026-5525
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).
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.002, 6.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Notepad-Plus-Plus Notepad\+\+ — versions 8.9.3
- Notepad++ Project — versions 8.9.3, 8.9.4
Weakness classification (CWE)
References
- github.com/notepad-plus-plus/notepad-plus-plus/issues/17921 (Exploit, Mitigation, Issue Tracking, Vendor Advisory)
- github.com/notepad-plus-plus/notepad-plus-plus/pull/17930 (Patch, Issue Tracking)
- github.com/notepad-plus-plus/notepad-plus-plus/commit/bfe7514d68bc559534c046c4e… (Patch)