# CVE-2023-40031: Notepad++ vulnerable to heap buffer write overflow in Utf8_16_Read::convert

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-25T19:49:23.433Z
- Modified: 2026-06-17T06:15:50.780Z
- Weaknesses: CWE-120, CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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++.

(As written by CVE List.)

## Affected

- notepad-plus-plus notepad-plus-plus: <= 8.5.6
- notepad-plus-plus notepad++: up to 8.5.6

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://securitylab.github.com/advisories/GHSL-2023-092_Notepad__/> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2023-40031](https://www.cve.org/CVERecord?id=CVE-2023-40031), CVE Terms of Use, modified 2024-10-02
- NVD: [CVE-2023-40031](https://nvd.nist.gov/vuln/detail/CVE-2023-40031), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40031 · Whole record: https://cve.day/CVE-2023-40031.json · Rebuilt by cve.day 2026-11-25T22:58:27.364Z
