CVE-2026-85279

8.6

Notepad++ · Notepad++

Notepad++ contains a stack-based buffer overflow in the plugin manager that can lead to arbitrary code execution when a malicious plugin is loaded.

Executive summary

A critical stack-based buffer overflow vulnerability in Notepad++ prior to version 8.9.8 allows attackers to achieve arbitrary code execution via malicious plugin interaction.

Vulnerability

The software suffers from a stack-based buffer overflow (CWE-121) in the PluginsManager::loadPluginFromPath function. An attacker can trigger this condition by providing a malicious plugin that reports an excessive number of lexers, causing the application to write past the allocated stack buffer and corrupt control data.

Business impact

The vulnerability carries a CVSS score of 8.6, reflecting its potential for complete system compromise. Successful exploitation allows an attacker to execute arbitrary code within the context of the Notepad++ process, leading to potential data theft, lateral movement within the network, or total system takeover. This risk is particularly significant for environments where Notepad++ is used to handle sensitive source code or configuration files.

Remediation

Immediate Action: Update all Notepad++ installations to version 8.9.8 or later immediately to incorporate the necessary bounds checking.

Proactive Monitoring: Monitor endpoint process execution logs for suspicious Notepad++ behavior or unexpected child processes spawned by the editor.

Compensating Controls: Implement strict application control policies to prevent the loading of untrusted or unsigned plugins within the Notepad++ environment.

Exploitation status

Public Exploit Available: No

Analyst recommendation

Given the High severity of this flaw and the existence of a proof-of-concept, organizations must prioritize patching. Administrators should audit all systems for outdated versions of Notepad++ and enforce the update to version 8.9.8 to eliminate the vulnerable code path. Failing to address this vulnerability increases the risk of remote code execution should a user be induced to load a malicious plugin.

More Notepad++ CVEs

History

  1. Disclosed CVE record published
  2. Collected by CVE Brief via github
  3. Analyst report written
  4. Published in the daily brief high section

Sources