CVE-2026-38972

Published Jul 2, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw is located in Notepad3's About dialog; the program calls LoadLibrary with the bare name "MSFTEDIT.DLL". Because an attacker with local access can place a malicious copy of MSFTEDIT.DLL in the application folder or another DLL search path, the loader will load the legitimate system library and execute arbitrary code in the context of the user opening the dialog. This is a classic DLL search-order hijacking vulnerability (CWE-427) that can compromise the entire user session if exploited.

Affected Systems

All releases of Notepad3 through version 6.25.822.1 are affected. Users running these versions should verify their installed version and apply any available update from the official source.

Risk and Exploitability

The flaw requires local file placement and the user to open the About dialog, so the EPSS score of less than 1% and absence from the CISA KEV catalog indicate a low likelihood of exploitation. The CVSS score of 7.8 reflects the potential impact within the affected user’s session.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest version of Notepad3 released by the official GitHub repository, which removes this DLL loading issue.
  • Delete or rename any MSFTEDIT.DLL placed in a Notepad3 installation directory to prevent accidental loading of a malicious DLL.
  • Implement application whitelisting (e.g., AppLocker or Windows Defender Application Control) or adjust the DLL search path so that only trusted directories are considered when loading system libraries.

Generated by OpenCVE AI on July 31, 2026 at 15:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title DLL Search-Order Hijacking in Notepad3’s About Dialog Allowing Local Code Execution
Type Values Removed Values Added
Title DLL Search-Order Hijacking in Notepad3’s About Dialog Allowing Local Code Execution
Type Values Removed Values Added
Title Local DLL Search-Order Hijacking in Notepad3 Allows Arbitrary Code Execution
Type Values Removed Values Added
Title Local DLL Search-Order Hijacking in Notepad3 Allows Arbitrary Code Execution
Type Values Removed Values Added
Title DLL Search‑Order Hijacking in Notepad3 Enables Local Arbitrary Code Execution
Type Values Removed Values Added
Title DLL Search‑Order Hijacking in Notepad3 Enables Local Arbitrary Code Execution
Type Values Removed Values Added
Title DLL Search‑Order Hijacking in Notepad3 Allows Local Arbitrary Code Execution
Type Values Removed Values Added
Title DLL Search‑Order Hijacking in Notepad3 Allows Local Arbitrary Code Execution
Type Values Removed Values Added
Title DLL hijacking in Notepad3 allows local arbitrary code execution via MSFTEDIT.DLL
Type Values Removed Values Added
Title DLL hijacking in Notepad3 allows local arbitrary code execution via MSFTEDIT.DLL
Type Values Removed Values Added
Title DLL Search-Order Hijacking in Notepad3 Leading to Local Arbitrary Code Execution
Type Values Removed Values Added
Title DLL Search-Order Hijacking in Notepad3 Leading to Local Arbitrary Code Execution
Type Values Removed Values Added
Title DLL Hijacking via About Dialog in Notepad3
Type Values Removed Values Added
Title DLL Hijacking via About Dialog in Notepad3
Type Values Removed Values Added
Title DLL Hijacking Vulnerability in Notepad3’s About Dialog
Weaknesses CWE-114
Type Values Removed Values Added
Weaknesses CWE-427
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title DLL Hijacking Vulnerability in Notepad3’s About Dialog
Weaknesses CWE-114
Type Values Removed Values Added
Title DLL Hijacking in Notepad3 About Dialog Allows Local Code Execution
Weaknesses CWE-114
Type Values Removed Values Added
Title DLL Hijacking in Notepad3 About Dialog Allows Local Code Execution
Weaknesses CWE-114
Type Values Removed Values Added
Title DLL Search-Order Hijacking in Notepad3 About Dialog
Weaknesses CWE-114
Type Values Removed Values Added
Title DLL Search-Order Hijacking in Notepad3 About Dialog
Weaknesses CWE-114
Type Values Removed Values Added
Title Local DLL Hijacking Allows Arbitrary Code Execution in Notepad3 About Dialog
Weaknesses CWE-114
Type Values Removed Values Added
Title Local DLL Hijacking Allows Arbitrary Code Execution in Notepad3 About Dialog
Weaknesses CWE-114
Type Values Removed Values Added
First Time appeared Rizonesoft
Rizonesoft notepad3
Vendors & Products Rizonesoft
Rizonesoft notepad3
Type Values Removed Values Added
Description 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.
References
Weaknesses
  • CWE-427

    Uncontrolled Search Path Element

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 6, 2026, 2:42 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Analyzed
Published
Jul 2, 2026, 9:16 PM
Modified
Jul 8, 2026, 6:49 PM