CVE-2026-5525

Stack-Based Buffer Overflow in Notepad++ File Drop Handler leads to DoS

Published Apr 10, 2026 CVSS 3.1 · 6 Medium EPSS < 1% KEV · Not listed
Description
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).

Analysis

AI-generated

Technical impact

A stack-based buffer overflow exists in Notepad++ 8.9.3’s file drop handler, triggered 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 performing bounds checking, causing a stack overflow that leads to process termination (STATUS_STACK_BUFFER_OVERRUN). This results in a denial‑of‑service condition, allowing an attacker to crash Notepad++ when they control the path length and can execute the drop.

Affected Systems

The vulnerability affects the Notepad++ project’s product, Notepad++. Only version 8.9.3 is known to be impacted; later releases have reportedly patched the flaw.

Risk and Exploitability

The CVSS score of 6.0 indicates moderate severity, and the EPSS value is not available. The defect is not listed in the CISA KEV catalog and appears to be exploitable only by local users able to perform a drag‑and‑drop operation. Consequently, the primary risk is a local denial of service to anyone operating Notepad++ on the affected system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Notepad++ release that contains the buffer overflow fix.
  • Until the patch is applied, avoid dragging directories with a 259‑character path into Notepad++.
  • Verify the installation of the updated version to ensure the vulnerability is mitigated.

Generated by OpenCVE AI on April 10, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Notepad-plus-plus notepad\+\+
CPEs cpe:2.3:a:notepad-plus-plus:notepad\+\+:8.9.3:*:*:*:*:*:*:*
Vendors & Products Notepad-plus-plus notepad\+\+
Type Values Removed Values Added
First Time appeared Notepad++
Notepad++ notepad++
Notepad-plus-plus
Notepad-plus-plus notepad++
Vendors & Products Notepad++
Notepad++ notepad++
Notepad-plus-plus
Notepad-plus-plus notepad++
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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).
Title Stack-Based Buffer Overflow in Notepad++ File Drop Handler leads to DoS
Weaknesses CWE-121
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
securin
Published
Updated
Apr 10, 2026, 12:49 PM
Reserved
Apr 4, 2026, 5:59 AM
Status
Analyzed
Published
Apr 10, 2026, 8:16 AM
Modified
Oct 26, 2026, 9:10 PM