PatchSiren

notepad-plus-plus CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH notepad-plus-plus CVE published 2026-09-22

CVE-2026-86054

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.

MEDIUM notepad-plus-plus CVE published 2026-09-22

CVE-2026-85288

A vulnerability in Notepad++ prior to version 8.9.8 allows for the execution of tampered macros through the multi-run dialog, potentially leading to the invocation of internal Notepad++ commands or external programs in the current user context. This issue arises because Notepad++ incompletely enforces shortcuts.xml HMAC validation, specifically through the WM_MACRODLGRUNMACRO entry point, which calls macroPlayback() without the validation used by command(). As a result, a tampered shortcuts.xml macro that is blocked through the Macro menu or a shortcut key can execute through the multi-run dialog. This could lead to the invocation of internal Notepad++ commands or external programs

HIGH notepad-plus-plus CVE published 2026-09-22

CVE-2026-77605

A vulnerability in Notepad++ prior to version 8.9.8 allows for the execution of a command script when a user invokes the 'Run by system' action on a text file. An attacker can exploit this by placing a command script with a name that matches the selected text-file path with '.cmd' appended. This issue is resolved in Notepad++ version 8.9.8. The vulnerability is related to the Folder as Workspace 'Run by system' action in Notepad++, which can resolve a different sibling file than the file selected by the user. This can lead to the execution of arbitrary command scripts, elevation of privileges through user interaction, and possible lateral movement within a compromised network.

MEDIUM notepad-plus-plus CVE published 2026-08-17

CVE-2026-71858

A vulnerability in Notepad++ prior to version 8.9.7 allows macros loaded from an attacker-controlled shortcuts.xml to bypass HMAC validation and invoke certain actions in an elevated process, potentially leading to protected file modification and elevated command execution. This issue affects users who open files from untrusted sources, especially in environments where Notepad++ is used. The vulnerability has a medium CVSS score of 5.4 and can lead to conditional elevated command execution when a local attacker influences settingsDir and a user triggers the macro. Users of affected versions should assess their exposure and take steps to mitigate the vulnerability, including careful

HIGH notepad-plus-plus CVE published 2026-08-17

CVE-2026-57233

A vulnerability in Notepad++ prior to version 8.9.7 allows for code execution when loading a malicious plugin. The issue arises from the WinGup decompress function not properly validating ZIP entry names, which can lead to overwriting DLL files in sibling plugin directories. This vulnerability can be exploited by attackers to execute arbitrary code, potentially leading to system compromise. Users of Notepad++ should assess their exposure and upgrade to the latest version to mitigate this risk.

HIGH notepad-plus-plus CVE published 2026-08-17

CVE-2026-54758

A vulnerability in Notepad++ prior to version 8.9.7 allows for a stack buffer overflow, potentially leading to process termination and code execution. This issue is fixed in version 8.9.7. The vulnerability exists in the expandNppEnvironmentStrs function in PowerEditor/src/WinControls/StaticDialog/RunDlg/RunDlg.cpp, where a Notepad++ variable name is copied between $( and ) into a fixed-size wchar_t str[MAX_PATH] stack buffer without bounding the loop index. This can allow a name of 260 or more characters to corrupt adjacent stack data and potentially execute code.

MEDIUM notepad-plus-plus CVE published 2026-08-17

CVE-2026-52886

CVE-2026-52886 debrief based on the supplied source corpus. Notepad++ versions prior to 8.9.7 are vulnerable to arbitrary file reads during snapshot-mode restoration due to improper validation of the backupFilePath attribute. This issue allows defenders to assess exposure and verify installations. The vulnerability has been fixed in version 8.9.7, and defenders should prioritize verifying Notepad++ installations and assessing exposure to arbitrary file reads. The CVE record and NVD entry provide details on the vulnerability.

MEDIUM notepad-plus-plus CVE published 2026-08-11

CVE-2026-73250

A vulnerability in Notepad++ prior to version 8.9.7 allows for command execution in the installer's security context when the context menu component is selected, due to improper handling of the installation directory path. This issue arises from the Notepad++ Windows 11 x64 and ARM64 installer passing the attacker-influenced installation directory to a PowerShell command. The vulnerability poses a risk to Windows systems with Notepad++ installed, as it could allow attackers to execute commands in the installer's security context. Defenders should assess exposure to this vulnerability and prioritize remediation for Notepad++ installations prior to version 8.9.7. The vulnerability is

HIGH notepad-plus-plus CVE published 2026-06-26

CVE-2026-48800

CVE-2026-48800 is a high-severity vulnerability in Notepad++ that allows for command injection. The vulnerability exists in the way Notepad++ handles user-defined commands in the shortcuts.xml file. An attacker can exploit this vulnerability by injecting malicious commands, which can then be executed when the user clicks on the corresponding entry in the Run menu. This vulnerability has been fixed in Notepad++ version 8.9.6.1. Users are advised to update to the latest version to prevent exploitation. The vulnerability has a CVSS score of 7.8 and is considered high-severity.

HIGH notepad-plus-plus CVE published 2026-06-26

CVE-2026-46710

Notepad++ versions 8.9.4 through 8.9.6 contain a local privilege escalation vulnerability. The installer invokes powershell.exe without using an absolute path after setting the working directory to the installation contextMenu directory. If an attacker can pre-place a malicious powershell.exe in a user-writable custom installation directory, and a privileged user later runs the installer and selects that directory, the attacker-controlled executable is launched with the elevated privileges of the installer. This vulnerability is fixed in version 8.9.6. Users should update to the latest version to mitigate this vulnerability. Additionally, users should be cautious when selecting installation directories and ensure that the directory is secure.