Buffer overflow in Notepad++ - #VU151932
Published: September 24, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper bounds checking in the NPPM_GETCURRENTWORD, NPPM_GETCURRENTLINESTR, and NPPM_GETFILENAMEATCURSOR handlers when processing a selection of 2048 or more characters. A local user can send window messages that select text and invoke a context menu command to cause a denial of service.
Exploitation requires the attacking process to run in the same session at the same or higher integrity level as Notepad++.