Stack-based Buffer Overflow Affecting notepad-plus-plus/notepad-plus-plus package, versions [,8.9.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NOTEPADPLUSPLUSNOTEPADPLUSPLUS-16122134
  • published22 Apr 2026
  • disclosed10 Apr 2026
  • creditUnknown

Introduced: 10 Apr 2026

CVE-2026-5525  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade notepad-plus-plus/notepad-plus-plus to version 8.9.4 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in the file drop handler component. An attacker can cause the application to crash by dragging and dropping a directory path of exactly 259 characters without a trailing backslash, which triggers improper bounds checking and results in a stack buffer overflow.

CVSS Base Scores

version 4.0
version 3.1