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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86056.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "8.9.8"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86056.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "56938538040396035117975244347854672199",
"length": 91788
},
"id": "CVE-2026-86056-8e0cf536",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/8b33f52e7aa488b1222d3cfce5903a38dd63101f",
"target": {
"file": "PowerEditor/src/NppBigSwitch.cpp",
"function": "Notepad_plus::process"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"175018680714287705384553377853608327310",
"66398222346865875276176333445857839012",
"180682845661656215240169738337584205420",
"305143574079297805170974279641960980537"
],
"threshold": 0.9
},
"id": "CVE-2026-86056-a0ad8490",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/8b33f52e7aa488b1222d3cfce5903a38dd63101f",
"target": {
"file": "PowerEditor/src/NppBigSwitch.cpp"
}
}
]
"2026-09-25T08:24:16Z"