CVE-2026-86054 Notepad++: Stack Buffer Overflow in `NppParameters::writeSession` via overlong session path
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
notepad-plus-plus
notepad-plus-plus
영향 받는 버전
- 8.9.8 미만
해결 버전
- 8.9.8 이상
참고 자료 4건
- github.com https://github.com/notepad-plus-plus/notepad-plus-plus/commit/046af3f626be7715886412313fc18f58b30dfcaf (새 창)
- github.com https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8 (새 창)
- github.com https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-pxgg-96p2-c3hx (새 창)
- notepad-plus-plus.org https://notepad-plus-plus.org/news/v898-released (새 창)