Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2026-48770: Notepad++ WM_COPYDATA Out-of-Bounds Read and Local Denial of Service

Published Jun 26, 2026 · Updated 15 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS5.0Medium · v3.1
EPSS0.14%2nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Notepad++
IdentifiersCVE-2026-48770CWE-125 · Out-of-bounds Read

Notepad++ versions before 8.9.6.1 contain a bounds-checking vulnerability in the WM_COPYDATA handler for COPYDATA_FULL_CMDLINE messages. The handler can process COPYDATASTRUCT.lpData as an unbounded, NUL-terminated wide-character string rather than enforcing the length specified by COPYDATASTRUCT.cbData. A local process in the same interactive Windows session can supply an unterminated buffer, causing an out-of-bounds read and crashing the editor. Version 8.9.6.1 fixes the vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation terminates the affected Notepad++ process, causing local denial of service and interrupting editing activity. Arbitrary code execution, privilege escalation, and information disclosure are not established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by preventing untrusted local processes from running in the same interactive Windows session as users running Notepad++. More generally, limit execution of untrusted software on affected hosts and monitor for abnormal Notepad++ crashes that may indicate attempted exploitation. The definitive fix is upgrading to 8.9.6.1 or later.

Remediation

Patch, then assume compromise.

Upgrade Notepad++ to version 8.9.6.1 or later, which fixes the malformed-message handling vulnerability.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
Notepad-8.9.6-PoCThis repository is a small standalone PoC collection for three local vulnerabilities affecting Notepad++ <= 8.9.6 on Windows. It contains 7 files total: a README, two XML payload samples, one PowerShell crash PoC, and three Python PoCs. The code is not part of a larger exploit framework. Repository structure and purpose: - README.md documents the three CVEs, prerequisites, trigger conditions, and usage examples. - poc_CVE-2026-48770.py and payloads/poc_CVE-2026-48770.ps1 implement the same local crash technique in Python and PowerShell. - poc_CVE-2026-48778.py generates or restores a malicious config.xml for command execution. - poc_CVE-2026-48800.py generates or restores a malicious shortcuts.xml for command execution. - payloads/config.xml and payloads/shortcuts.xml are ready-made drop-in XML payloads. Main exploit capabilities: 1. CVE-2026-48770: local denial-of-service/crash. The PoC locates the Notepad++ window and sends a crafted WM_COPYDATA message with dwData=3 and a non-NUL-terminated 8192-byte buffer, aiming to trigger an out-of-bounds read and crash the process. 2. CVE-2026-48778: local code execution via configuration injection. The script writes a malicious %APPDATA%\Notepad++\config.xml or a temporary config.xml for use with -settingsDir. It sets GUIConfig name="commandLineInterpreter" to an attacker-chosen executable. When the user selects File -> Open Containing Folder -> cmd, Notepad++ launches that executable. 3. CVE-2026-48800: local code execution via shortcuts injection. The script writes a malicious %APPDATA%\Notepad++\shortcuts.xml or a temporary shortcuts.xml for use with -settingsDir. It adds a UserDefinedCommands entry whose text is an attacker-chosen executable. After restart, the victim can trigger execution from the Run menu. Operational characteristics: - The RCE PoCs support direct overwrite and restore workflows, including automatic backup creation (.bak). - Both RCE PoCs also support a settingsdir mode that avoids modifying the real AppData directory by preparing a temporary settings directory and printing a launch command for notepad++.exe -settingsDir=<tmpdir>. - Payloads are basic and customizable through command-line arguments, making the repository more than a pure detection script but still a straightforward PoC/operational local exploit set. No external network infrastructure, C2, or remote endpoints are used. The exploit surface is entirely local: Windows messaging and local Notepad++ configuration files.atiilla · Disclosed May 28, 2026 · markdown · xml · local · fileOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Notepad++Notepad++application
FAQ

Frequently asked questions

Is CVE-2026-48770 exploited in the wild?
As of Nov 10, 2026, Mallory has no reports of CVE-2026-48770 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-48770?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-48770, the earliest disclosed May 28, 2026.
Is there a patch for CVE-2026-48770?
Upgrade Notepad++ to version 8.9.6.1 or later, which fixes the malformed-message handling vulnerability.
What products are affected by CVE-2026-48770?
Notepad++.
How severe is CVE-2026-48770?
CVE-2026-48770 has a CVSS v3.1 score of 5.0 (Medium) and an EPSS score of 0.14% (2nd percentile) as of Nov 10, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity13Community discussion across Reddit, Mastodon, and other social sources.