Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, a local process in the same interactive Windows session can send a malformed WM_COPYDATA message to Notepad++ using the COPYDATA_FULL_CMDLINE path. The handler appears to process COPYDATASTRUCT.lpData as an unbounded NUL-terminated wchar_t* instead of enforcing COPYDATASTRUCT.cbData. This vulnerability is fixed in 8.9.6.1.
Affected products
notepad-plus-plus: notepad\+\+
References3
- github.com/notepad-plus-plus/notepad-plus-plus/security/advisor… ExploitPatchVendor AdvisoryMitigation
- github.com/notepad-plus-plus/notepad-plus-plus/security/advisor… ExploitPatchVendor AdvisoryMitigation
- github.com/notepad-plus-plus/notepad-plus-plus/commit/f20a0888a… Patch
Metrics
- CVSS 3.1
-
5.0
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 4 · as of 16 November 2026
- CWE
- CWE-125
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.