PoC Monitor
← All CVEs
CVE-2026-54758published 17 Aug 2026 20:05 UTCData: JSON · API

Notepad-plus-plus

Notepad++: Stack Buffer Overflow in expandNppEnvironmentStrs

Notepad++ is a free and open-source source code editor. Prior to 8.9.7, the expandNppEnvironmentStrs function in PowerEditor/src/WinControls/StaticDialog/RunDlg/RunDlg.cpp copies a Notepad++ variable name between $( and ) into the fixed-size wchar_t str[MAX_PATH] stack buffer without bounding the m loop index, allowing a name of 260 or more characters to corrupt adjacent stack data, terminate the process through __report_gsfailure, and potentially execute code. This issue is fixed in version 8.9.7.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-121
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

notepad-plus-plus notepad-plus-plus
  • < 8.9.7

Fixed in 8.9.7

Mitigation

Upgrade notepad-plus-plus to 8.9.7 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published17 Aug 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.