CVE-2026-48770

Notepad++ WM_COPYDATA COPYDATA_FULL_CMDLINE local DoS crash

Published Jun 26, 2026 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, a local process in the same interactive Windows session can send a malformed WM_COPYDATA message to Notepad++ using the COPYDATA_FULL_CMDLINE path. The handler appears to process COPYDATASTRUCT.lpData as an unbounded NUL-terminated wchar_t* instead of enforcing COPYDATASTRUCT.cbData. This vulnerability is fixed in 8.9.6.1.

Analysis

AI-generated

Technical impact

Notepad++ is vulnerable to a local denial‑of‑service that can be triggered by a process in the same interactive Windows session. By sending a malformed WM_COPYDATA message through the COPYDATA_FULL_CMDLINE path, the handler interprets the data buffer as an unbounded NUL‑terminated wide string, ignoring the declared size in the COPYDATASTRUCT.cbData field. This buffer over‑read flaw, identified by CWE‑125, causes the application to crash when it attempts to process the malformed input.

Affected Systems

All versions of Notepad++ released prior to 8.9.6.1 on Windows are affected. The issue was fixed in version 8.9.6.1 and later, so any installation that has not been updated to that revision remains vulnerable.

Risk and Exploitability

The CVSS score of 5.0 indicates a moderate severity. Because the exploit requires a local process able to send WM_COPYDATA in the same user session, remote attackers cannot leverage this flaw directly. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting that widespread exploitation is currently unlikely but the risk to any machine running an outdated version remains real.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install Notepad++ version 8.9.6.1 or later to apply the fix that enforces the COPYDATASTRUCT.cbData field.
  • If an immediate update is not possible, disable any third‑party plugin or feature that exposes the COPYDATA_FULL_CMDLINE interface in Notepad++.
  • Restrict local processes from sending WM_COPYDATA messages to Notepad++ by applying local group policy restrictions or application whitelisting to block the SendMessage call with WM_COPYDATA.

Generated by OpenCVE AI on June 26, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Notepad-plus-plus
Notepad-plus-plus notepad++
Vendors & Products Notepad-plus-plus
Notepad-plus-plus notepad++
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, a local process in the same interactive Windows session can send a malformed WM_COPYDATA message to Notepad++ using the COPYDATA_FULL_CMDLINE path. The handler appears to process COPYDATASTRUCT.lpData as an unbounded NUL-terminated wchar_t* instead of enforcing COPYDATASTRUCT.cbData. This vulnerability is fixed in 8.9.6.1.
Title Notepad++ WM_COPYDATA COPYDATA_FULL_CMDLINE local DoS crash
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 29, 2026, 12:11 PM
Reserved
May 22, 2026, 7:39 PM
Status
Analyzed
Published
Jun 26, 2026, 9:16 PM
Modified
Jun 29, 2026, 9:21 PM