Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
notepad-plus-plus notepad-plus-plus — Notepad++ TOCTOU: HMAC Checks Disk, Executes from Memory
AV AC AT PR UI VC VI VA CVSS EPSS %ile KEV
L H N N N H H H 7.5 .0013 3.0 —
AFFECTED
Product Versions Fixed
notepad-plus-plus < 8.9.6.4 – —
TIMELINE
Jun 8 Reserved by GitHub_M
Jun 26 EXPLOIT PUBLISHED — CVE-2026-52885 (notepad-plus-plus). Public exploit reference added.
Jun 26 Published (CNA: GitHub_M)
Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.4, NppCommands.cpp checks the HMAC of the on-disk shortcuts.xml at the moment a user command fires (Time-of-Check). However, the command payload is taken from the in-memory _userCommands vector, which is populated at application startup and never re-synchronized with the on-disk file (Time-of-Use). Swapping shortcuts.xml between startup and command execution causes the HMAC check to validate a clean file while a malicious command runs. An attacker with write access to shortcuts.xml places a malicious version on disk before launch, then immediately restores the legitimate file. The HMAC check at execution time validates the restored legitimate file (check passes), while the malicious payload executes from memory. This vulnerability is fixed in 8.9.6.4.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| June 8, 2026 | Reserved | Reserved by GitHub_M |
| June 26, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-52885 (notepad-plus-plus). Public exploit reference added. |
| June 26, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| notepad-plus-plus | notepad-plus-plus | — | < 8.9.6.4 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-52885 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.