Description
Notepad++ is a free and open-source source code editor. Versions 8.5.6 and prior are vulnerable to heap buffer write overflow in `Utf8_16_Read::convert`. This issue may lead to arbitrary code execution. As of time of publication, no known patches are available in existing versions of Notepad++.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| notepad-plus-plus | notepad-plus-plus | <= 8.5.6 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
webraybtl/CVE-2023-40031 ★ 15 · Sep 8, 2023
notepad++堆缓冲区溢出漏洞CVE-2023-40031 分析与复现
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- VDE-2024-003 TRUMPF: Multiple products include a vulnerable version of Notepad++ CERT@VDE · May 22, 2025
- WID-SEC-2023-2188 Notepad++: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Sep 11, 2023