Notepad++ 8.9.9, released on November 6, 2026, addresses six memory-safety and trust-boundary flaws, including a WM_COPYDATA sender authentication bypass and a WM_COPYDATA-driven privilege escalation This article explores wm_copydata driven privilege. . A local attacker can trick the receiver into validating a different party by nominating a decoy Notepad++ instance with a COPYDATASTRUCT from an unrelated process.

Notepad++ 8.9.9 Addresses Six Security Vulnerabilities The advisory highlights that this technique could potentially bypass an earlier privilege escalation hardening commit.

Combined with the optional NppExec plugin, a spoofed COPYDATA_PARAMS message containing NppExecScript ran a script inside an already elevated, High-integrity process. A time-of-check-to-time-of-use race (CWE-367) impacts the UAC save broker. Notepad++ saves the document to %TEMP%\npp-.tmp, closes the handle, and initiates an elevated helper that uses CopyFileW on the specified path.

The NPPM_MENUCOMMAND flaw, CWE-129, subtracts ID_USER_CMD, 21000, from a caller-supplied command ID and indexes an empty std::vector without a size check.

Its SAML Decode routine called tinf_uncompress without bounding the output, leading to a payload inflating to approximately 300,000 bytes, overrunning a 200,000-byte heap buffer. Administrators should upgrade to Notepad++ 8.9.9 and mimeTools 3.2, avoid decoding untrusted SAML payloads, and remove NppExec from elevated sessions until patched.