CVE-2026-86054

Notepad++: Stack Buffer Overflow in `NppParameters::writeSession` via overlong session path

CVE-2026-86054 is fixed in Notepad++ on 1 platform by Notepad++ 8.9.8 (version 8.9.8), released August 23, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
No vendor severity
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0023
13th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Windows apps
Notepad++ 8.9.8 Notepad++ 8.9.8 Aug 23, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.