A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /notepad-plus-plus/notepad-plus-plus/commit/046af3f626be771…
- github.com /notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8
- github.com /notepad-plus-plus/notepad-plus-plus/security/advisories/GH…
- notepad-plus-plus.org /news/v898-released
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning