ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-86054

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 backupPath…

CVSS
7.8High
Chance of exploitation (EPSS)
0.23%
Published
Sep 22, 2026
In the news
Not yet

What to do

A serious buffer overflow that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Notepad-plus-plus
< 8.9.8

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.

CWE-121

Affected products

Get alerts for these →

No product list yet. It usually appears within a few days of publication.

Timeline 1

Latest change: CVE-2026-86054 published (CVSS 7.8) (Sep 22, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Tue, Sep 22, 2026

  1. CVECVE-2026-86054 published (CVSS 7.8)CVE Program · 18:17 UTC

References 5

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

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”