Impact
A null pointer dereference in the Notepad++ NPPM_SAVESESSION handler causes the application to crash when the lParam parameter is null. This crash results in loss of unsaved documents and a denial of service to the user. The flaw is a classic null pointer dereference (CWE‑476) and does not lead to arbitrary code execution or privilege escalation.
Affected Systems
Notepad++ versions built for Windows prior to 8.9.8 are affected. The vulnerable code resides in PowerEditor/src/NppBigSwitch.cpp and handles the NPPM_SAVESESSION message. The issue exists in any installation of these earlier releases running on a Windows desktop where a local process can send Windows messages.
Risk and Exploitability
The CVSS score is 5.5, indicating moderate severity. No EPSS score is publicly available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a local process running at the same or higher integrity level on the same desktop that can send a Windows message to Notepad++. An attacker who succeeds can crash the application at will, causing data loss for active, unsaved work.
OpenCVE Enrichment