Skip to main content
← All vulnerabilities
CVE-2026-86056

Notepad++: Null pointer dereference in NPPM_SAVESESSION message handler causes crash (DoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.9.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Notepad++ is a free and open-source source code editor. Prior to 8.9.8, the NPPM_SAVESESSION handler in PowerEditor/src/NppBigSwitch.cpp converts lParam to a sessionInfo pointer and dereferences its nbFile, files, and sessionFilePathName members without checking for null. A process running at the same or a higher Windows integrity level on the same desktop can send NPPM_SAVESESSION with a null lParam, immediately terminating Notepad++ and causing denial of service and loss of unsaved documents. This issue is fixed in version 8.9.8.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • notepad-plus-plus notepad-plus-plus

    fixed in 8.9.8

References 4

GitHub · notepad-plus-plus/notepad-plus-plus

notepad-plus-plus.org