{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-86054", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2026-09-04T19:29:21.059Z", "datePublished": "2026-09-22T17:12:38.351Z", "dateUpdated": "2026-09-22T17:12:38.351Z" }, "containers": { "cna": { "title": "Notepad++: Stack Buffer Overflow in `NppParameters::writeSession` via overlong session path", "problemTypes": [ { "descriptions": [ { "cweId": "CWE-121", "lang": "en", "description": "CWE-121: Stack-based Buffer Overflow", "type": "CWE" } ] } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" } } ], "references": [ { "name": "https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-pxgg-96p2-c3hx", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-pxgg-96p2-c3hx" }, { "name": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/046af3f626be7715886412313fc18f58b30dfcaf", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/046af3f626be7715886412313fc18f58b30dfcaf" }, { "name": "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8" }, { "name": "https://notepad-plus-plus.org/news/v898-released", "tags": [ "x_refsource_MISC" ], "url": "https://notepad-plus-plus.org/news/v898-released" } ], "affected": [ { "vendor": "notepad-plus-plus", "product": "notepad-plus-plus", "versions": [ { "version": "< 8.9.8", "status": "affected" } ] } ], "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2026-09-22T17:12:38.351Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "source": { "advisory": "GHSA-pxgg-96p2-c3hx", "discovery": "UNKNOWN" } } } }