CVE-2023-40031
published high CVSS 3.1 · 7.8Notepad++ vulnerable to heap buffer write overflow in Utf8_16_Read::convert
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| notepad-plus-plus | — | notepad-plus-plus<= 8.5.6 | Affected | Not stated | GitHub_M |
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++.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| notepad-plus-plus | notepad-plus-plus | <= 8.5.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
- CWE-122 CWE-122: Heap-based Buffer Overflow
References
1Provider assertions
3GitHub_M · cna
Notepad++ vulnerable to heap buffer write overflow in Utf8_16_Read::convert
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 51a28647867562b1ee2d702da0bf8e33a4ce8e6476a4002009eb0490cdebad44
- Ingested
- 23 Sep 2026, 08:11:15 UTC
- Source record
- Official CVE record