Skip to main content

Notepad3 CVE-2026-38972

HIGH
Uncontrolled Search Path Element (CWE-427)
2026-07-02 cve@mitre.org
7.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to Notepad3 app/search-path directory
  2. Delivery
    Plant malicious MSFTEDIT.DLL
  3. Exploit
    Victim opens About dialog
  4. Execution
    LoadLibrary loads attacker DLL
  5. Impact
    Arbitrary code executes as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Exploitation requires: (1) the attacker having write access to the Notepad3 application directory or an earlier entry in the Windows DLL search order relative to Notepad3.exe, into which a malicious file named exactly MSFTEDIT.DLL is placed; and (2) the victim user subsequently opening the About dialog in Notepad3, which triggers the vulnerable LoadLibrary(L"MSFTEDIT.DLL") call. Limiting factors that reduce real-world risk: the attack vector is local only (AV:L - no remote/network exploitation), it requires user interaction (UI:R - the About dialog must be manually opened), code runs only at the invoking user's privilege level (S:U, no privilege escalation), and it is far more feasible against portable/loosely-permissioned installs than against a locked-down %ProgramFiles% deployment where standard users cannot write the DLL. This is not a default-configuration remote flaw.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8 High) correctly reflects a local attack vector requiring user interaction (opening the About dialog) but no prior privileges, yielding full confidentiality, integrity, and availability impact at the user's privilege level. This is a coherent, non-conflicting signal set: local vector plus required interaction, which matches the description precisely. EPSS of 0.18% (8th percentile) is low and consistent - DLL hijacking that depends on both filesystem write access to a search-order directory and a victim manually opening an About dialog does not scale to automated widescale exploitation. It is not on CISA KEV and no public exploit is identified, so this is a real but lower-priority, opportunistic/targeted issue rather than an urgent internet-facing threat. The main caveat: real-world exploitability hinges on whether Notepad3.exe is commonly run from attacker-writable directories (e.g., portable deployments), which the CVE data does not quantify.

Exploit ScenarioDerived

An attacker delivers or drops a malicious MSFTEDIT.DLL into a directory from which the victim runs Notepad3.exe - for example bundling it alongside a portable Notepad3 copy on a shared drive or in the user's Downloads folder. When the victim later opens Help → About in Notepad3, the planted DLL is loaded instead of the System32 copy and the attacker's code executes with the victim's privileges. No public POC is identified, but the low complexity (AC:L) means a working exploit DLL is trivial to construct.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 06, 2026

Local code execution in Notepad3 (versions through 6.25.822.1) arises from an insecure LoadLibrary(L"MSFTEDIT.DLL") call in the About-dialog path within src/Notepad3.c. Because the DLL is loaded by bare name, an attacker who can drop a malicious MSFTEDIT.DLL into the application directory or an earlier search-order location runs arbitrary code as the current user once that user opens the About dialog. No public exploit identified at time of analysis, and EPSS is low at 0.18% (8th percentile), consistent with a local, user-interaction-dependent flaw rather than a mass-exploitation target.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the corrective change is tracked in https://github.com/rizonesoft/Notepad3/pull/5606 against issue https://github.com/rizonesoft/Notepad3/issues/5605, but no tagged release version is present in the provided data, so upgrade to the first Notepad3 build that incorporates PR #5606 (verify at https://github.com/rizonesoft/Notepad3). The proper code-level fix is to load MSFTEDIT.DLL with an absolute System32 path or use LoadLibraryEx with LOAD_LIBRARY_SEARCH_SYSTEM32 / SetDefaultDllDirectories. As compensating controls until patched: install and run Notepad3 only from a protected directory such as %ProgramFiles% where standard users lack write access (trade-off: breaks portable/USB usage); avoid launching Notepad3.exe from user-writable or shared/network locations like Downloads or temp folders (trade-off: requires user discipline); and consider application-directory ACL hardening or AppLocker/WDAC rules to block unsigned DLL loads from those paths (trade-off: management overhead and possible false positives for other portable apps).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-427 (Uncontrolled Search Path Element), a classic Windows DLL search-order hijacking issue. MSFTEDIT.DLL is the Microsoft Rich Edit control library, normally resident in the System32 directory; calling LoadLibrary with only the module name (no absolute path and without a safe search flag such as LOAD_LIBRARY_SEARCH_SYSTEM32) causes Windows to walk its default DLL search order, which historically includes the directory of the loading executable before System32. If Notepad3.exe is launched from a directory an attacker can write to (a Downloads folder, a shared network path, a portable-app directory), a planted MSFTEDIT.DLL is loaded in preference to the legitimate system copy. The affected code path is the About dialog handler in src/Notepad3.c of the Rizonesoft Notepad3 editor.

Know when Notepad3 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local DLL planting (AV:L) with trivial complexity (AC:L), no prior privileges but victim must open the About dialog (UI:R); loaded code inherits full user-context C/I/A impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 06, 2026 - 16:22 NVD
7.8 (HIGH)
CVE Published
Jul 02, 2026 - 21:16 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Notepad3 through 6.25.822.1 contains a DLL search-order hijacking vulnerability in the About-dialog code path in src/Notepad3.c. The application calls LoadLibrary(L"MSFTEDIT.DLL") with a bare DLL name, which allows a local attacker to place a malicious MSFTEDIT.DLL in the application directory or another preferred DLL search location and achieve arbitrary code execution in the context of the user when the About dialog is opened.

Executive ViewAI

Why It Matters

Notepad3 versions through 6.25.822.1 contain a code execution vulnerability that could be exploited by attackers with local file access to execute code as the current user. The attack requires user interaction and malicious file placement in the application directory, limiting exposure primarily to organizations with significant Notepad3 adoption. No vendor patch is currently available, requiring interim security controls.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict write permissions to Notepad3 application directories and DLL search paths via NTFS access controls; (2) Deploy application whitelisting or code integrity policies to prevent unauthorized DLL loading; (3) Monitor for suspicious MSFTEDIT.DLL files in user home directories, Temp folders, and application installation paths using file integrity monitoring tools; (4) User education on avoiding untrusted application sources and installations.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche open-source Windows text editor, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:rizonesoft:notepad3:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy