boxscore/security
CVE · referencelatest edition

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.

CVE-2026-52885HIGH
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)
CWE-367 · CNA: GitHub_M · CVSS v4.0 · 2 references · NVD status: Analyzed

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
DateEventDetail
June 8, 2026ReservedReserved by GitHub_M
June 26, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-52885 (notepad-plus-plus). Public exploit reference added.
June 26, 2026PublishedPublished (CNA: GitHub_M)

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
notepad-plus-plusnotepad-plus-plus< 8.9.6.4

Weaknesses

CWE-367

References (2)

Related

Authoritative record: CVE-2026-52885 at cve.org

Vendors: notepad-plus-plus

Weaknesses: CWE-367

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.