CVE-2026-86054

Notepad++ is a free and open-source source code editor. Prior to 8.9.8, Notepad++ contains a stack buffer overflow in NppParameters::writeSession in PowerEditor/src/Parameters.cpp because it copies a session path derived from -settingsDir= into backupPathName[MAX_PATH] with unbounded wcscpy and appends SESSION_BACKUP_EXT with unbounded wcscat. A sufficiently long settings directory causes the backup suffix to exceed the fixed stack buffer when Notepad++ saves the session, and the protected release build terminates through its stack canary, causing denial of service. This issue is fixed in version 8.9.8.
Configurations

No configuration.

History

28 Sep 2026, 18:17

Type Values Removed Values Added
References () https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-pxgg-96p2-c3hx - () https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-pxgg-96p2-c3hx -

22 Sep 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-22 18:17

Updated : 2026-09-28 18:17


NVD link : CVE-2026-86054

Mitre link : CVE-2026-86054

CVE.ORG link : CVE-2026-86054


JSON object : View

Products Affected

No product.

CWE
CWE-121

Stack-based Buffer Overflow