CVE-2026-86056: Notepad++: Null pointer dereference in NPPM_SAVESESSION message handler causes crash (DoS)

Published Sep 22, 2026
·
Updated

Notepad++ is a free and open-source source code editor. Prior to 8.9.8, the NPPMSAVESESSION 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 NPPMSAVESESSION 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.

Affected Software

1 affected component
Notepad++ Notepad++<8.9.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Notepad++ to a version that resolves this vulnerability.

    Fixed in 8.9.8

Event History

Sep 22, 2026
CVE Published
via MITRE·05:14 PM
Data Sourced
via MITRE·05:14 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed to this denial-of-service issue?

Notepad++ versions prior to 8.9.8 are affected when an attacker can run a process on the same Windows desktop at the same or higher integrity level as the Notepad++ process. The impact is limited to terminating Notepad++; unsaved documents may be lost.

2

What does an attacker need to exploit the issue?

The attacker needs the ability to send a Windows message to the Notepad++ process from a local process running at an eligible integrity level. Exploitation consists of sending the NPPM_SAVESESSION message with a null lParam value.

3

How can the issue be remediated?

Upgrade Notepad++ to version 8.9.8, which fixes the null-pointer handling in the NPPM_SAVESESSION message handler.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203