PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-86054 notepad-plus-plus CVE debrief

A stack buffer overflow vulnerability exists in Notepad++ versions prior to 8.9.8, which could lead to a denial of service. The issue arises from an unbounded copy operation when saving a session with a sufficiently long settings directory. This vulnerability is caused by the use of unbounded wcscpy and wcscat functions in the NppParameters::writeSession function in PowerEditor/src/Parameters.cpp. The vulnerability can be triggered when a user with administrative privileges saves a session with a specially crafted settings directory, leading to a denial of service.

Vendor
notepad-plus-plus
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-22
Original CVE updated
2026-09-28
Advisory published
2026-09-22
Advisory updated
2026-09-28

Who should care

Defenders responsible for managing and updating Notepad++ installations should be aware of this vulnerability and take action to mitigate it. This includes reviewing and limiting the length of settings directory paths, monitoring for and responding to potential denial of service attacks, and verifying Notepad++ versions and updating to 8.9.8 or later.

Why it matters

CVE-2026-86054 is a stack buffer overflow vulnerability in Notepad++ that could lead to denial of service. Defenders should prioritize updating to version 8.9.8 or later.

  • Denial of service attacks may be possible through exploitation of this vulnerability
  • Defenders should verify Notepad++ versions and update to 8.9.8 or later
  • Remediation priority is high due to the potential for denial of service

Technical summary

The vulnerability exists in the NppParameters::writeSession function in PowerEditor/src/Parameters.cpp, where an unbounded wcscpy and wcscat are used to copy a session path derived from the -settingsDir= parameter into backupPathName[MAX_PATH]. A sufficiently long settings directory causes the backup suffix to exceed the fixed stack buffer, leading to a denial of service. The vulnerability can be triggered when a user with administrative privileges saves a session with a specially crafted settings directory, leading to a denial of service.

Defensive priority

Defenders should prioritize updating Notepad++ to version 8.9.8 or later to mitigate this vulnerability.

Recommended defensive actions

  • Update Notepad++ to version 8.9.8 or later
  • Review and limit the length of settings directory paths
  • Monitor for and respond to potential denial of service attacks
  • Verify Notepad++ versions and update to 8.9.8 or later
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, including its description and affected versions. The vulnerability was reported by a researcher and is fixed in Notepad++ version 8.9.8. The CVE record was published on 2026-09-22T18:17:23.827Z and has not been modified since then. The NVD entry provides additional information on the vulnerability, including its CVSS score and severity.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-86054 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-86054

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-86054 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-86054

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.