Skip to main content

Notepad CVE-2026-5525

| EUVDEUVD-2026-21334 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-04-10 securin GHSA-8hrp-2fqv-gvrx
7.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS vector (AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N) indicates local-only attack requiring low privileges, high complexity (specific path length trigger), and user interaction. The impact claims high confidentiality and integrity but no availability impact, contradicting the description's explicit mention of STATUS_STACK_BUFFER_OVERRUN crashes; this inconsistency suggests the CVSS may understate practical risk. Lack of KEV status and confirmed public exploit code reduces immediate real-world threat, but stack overflows on local systems can enable privilege escalation or code execution if exploited properly. The high complexity requirement (exact 259-character path without trailing backslash) acts as a natural exploit filter, reducing attack surface. This is a medium-priority issue: credible but not immediately critical, especially compared to remote or unauthenticated overflow vulnerabilities. Organizations with shared workstations or untrusted local users should prioritize patching.

Exploit ScenarioDerived

A local user with limited privileges (e.g., guest account on a shared workstation) crafts a directory path of exactly 259 characters without a trailing backslash-for example, a deep nested folder structure on a shared drive-and drags it into an open Notepad++ window. The application's file drop handler appends a backslash and null terminator without bounds checking, writing 261+ bytes into a fixed-size stack buffer and triggering a STATUS_STACK_BUFFER_OVERRUN crash. While the current disclosure emphasizes application crash, such stack overflows on x86/x64 systems can be leveraged for code execution by carefully crafting the path to overwrite the return address; no public proof-of-concept demonstrating code execution has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Apr 10, 2026

Stack-based buffer overflow in Notepad++ 8.9.3 file drop handler allows local authenticated users to cause application crash and potentially execute code by dragging and dropping a directory path of exactly 259 characters without a trailing backslash, triggering unbounded buffer write via automatic backslash and null terminator appending. CVSS 6.0 (High) reflects local attack vector and high complexity; no public exploit code or active KEV status identified, but upstream fix is confirmed available.

RemediationAI

Users should upgrade to a patched version released after commit bfe7514d68bc559534c046c4ef2d1865267aa2b0 (available at https://github.com/notepad-plus-plus/notepad-plus-plus/pull/17930). The exact patched release version is not explicitly confirmed in the provided data, but the pull request and commit indicate the fix is integrated upstream; check the official Notepad++ releases page for the earliest version incorporating this commit (typically the next minor or patch release after 8.9.3). As a workaround, avoid dragging and dropping directory paths longer than 257 characters into Notepad++, or ensure paths include a trailing backslash. Administrators managing shared systems should deploy the patched version as soon as it becomes generally available.

Affected VersionsENISA

Notepad++ 8.9.3

Affected Packages

euvd notepad no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The vulnerability exists in Notepad++'s drag-and-drop file handler, which processes directory paths without proper bounds validation before appending path separators and null terminators to a fixed-size stack buffer. The 259-character path length represents a critical boundary condition-likely related to MAX_PATH (260 on Windows) minus one-where the automatic appending of a backslash and null terminator exceeds the buffer's allocated size. This is a classic stack-based buffer overflow (CWE-121: Stack-based Buffer Overflow). The Notepad++ project CPE indicates all versions in the 8.x series are potentially affected, though the issue is specifically confirmed in 8.9.3. The vulnerability requires user interaction (drag-and-drop UI action) and local system access, limiting remote exploitation potential.

Know when Notepad 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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

3
Severity Changed
Oct 26, 2026 - 21:23 NVD
MEDIUM HIGH
CVSS changed
Oct 26, 2026 - 21:23 NVD
6.0 (MEDIUM) 7.8 (HIGH)
CVE Published
Apr 10, 2026 - 07:40 nvd
MEDIUM 6.0

DescriptionNVD

A stack-based buffer overflow vulnerability exists in Notepad++ version 8.9.3 in the file drop handler component. When a user drags and drops a directory path of exactly 259 characters without a trailing backslash, the application appends a backslash and null terminator without proper bounds checking, resulting in a stack buffer overflow and application crash (STATUS_STACK_BUFFER_OVERRUN).

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.0%
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

CVE-2014-9456 CRITICAL POC
10.0 Jan 02

Buffer overflow in NotePad++ 6.6.9 allows remote attackers to have unspecified impact via a long Time attribute in an Ev

CVE-2025-15556 HIGH
7.5 Feb 03

Notepad++ versions prior to 8.8.9 contain an update integrity verification vulnerability (CVE-2025-15556) when using the

CVE-2021-47944 HIGH POC
8.7 May 10

memono Notepad 4.2 contains a denial of service vulnerability that allows attackers to crash the application by pasting

CVE-2023-47452 HIGH POC
7.8 Nov 30

An Untrusted search path vulnerability in notepad++ 6.5 allows local users to gain escalated privileges through the msim

CVE-2023-40031 HIGH POC
7.8 Aug 25

Notepad++ is a free and open-source source code editor. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2022-32168 HIGH POC
7.8 Sep 28

Notepad++ versions 8.4.1 and before are vulnerable to DLL hijacking where an attacker can replace the vulnerable dll (Ux

CVE-2019-16294 HIGH POC
7.8 Sep 14

SciLexer.dll in Scintilla in Notepad++ (x64) before 7.7 allows remote code execution or denial of service via Unicode ch

CVE-2026-25926 HIGH POC
7.3 Feb 19

Notepad++ versions before 8.9.2 allow local code execution through an unsafe search path vulnerability that permits atta

CVE-2026-3008 MEDIUM POC
6.6 Apr 27

String injection in Notepad++ 8.9.3 leads to memory address disclosure or application crash when processing maliciously

CVE-2022-31902 MEDIUM POC
5.5 Feb 01

Notepad++ v8.4.1 was discovered to contain a stack overflow via the component Finder::add(). Rated medium severity (CVSS

CVE-2023-40166 MEDIUM POC
5.5 Aug 25

Notepad++ is a free and open-source source code editor. Rated medium severity (CVSS 5.5), this vulnerability is no authe

CVE-2023-40164 MEDIUM POC
5.5 Aug 25

Notepad++ is a free and open-source source code editor. Rated medium severity (CVSS 5.5), this vulnerability is no authe

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