SecurityContext

CVE-2026-86054: Notepad++ - Buffer Overflow

  • Cve: CVE-2026-86054
  • Name: Notepad++ - Buffer Overflow
  • 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.
  • Impact: Attackers can cause application crash and denial of service by triggering stack buffer overflow.
  • Remediation: Update to version 8.9.8 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00228
  • Epss percentile: 0.13465
  • Assignee: [email protected]
  • Published at: 2026-09-22T18:17:23Z
  • Age in days: 63
  • Modified at: 2026-09-28T18:17:25Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-86054
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/notepad-plus-plus/notepad-plus-plus/commit/046af3f626be7715886412313fc18f58b30dfcaf
https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8
https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-pxgg-96p2-c3hx
https://notepad-plus-plus.org/news/v898-released

Products

ProductAffectedPlatform boundSourcesUrl
notepad-plus-plus:notepad++< 8.9.8nocna_alias_text/v1/products/notepad-plus-plus/notepad++

Projects

RepositoryLink kindsIndexedUrl
notepad-plus-plus/notepad-plus-pluscommit, fix, releases, security_advisoryyes/v1/repositories/notepad-plus-plus/notepad-plus-plus

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts