{"id":"CVE-2023-40031","aliases":["CVE-2023-40031"],"related":[],"kind":"vulnerability","state":"published","title":"Notepad++ vulnerable to heap buffer write overflow in Utf8_16_Read::convert","summary":"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++.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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++.","source":"cvelist"}],"published":"2023-08-25T19:49:23.433Z","modified":"2026-06-17T06:15:50.780Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-120","CWE-122"],"affected":[{"ranges":[{"version":"<= 8.5.6","status":"affected"}],"vendor":"notepad-plus-plus","product":"notepad-plus-plus","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"8.5.6"}],"vendor":"notepad-plus-plus","product":"notepad++","cpe":"cpe:2.3:a:notepad-plus-plus:notepad\\+\\+:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-092_Notepad__/","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-10-02T14:52:59.230Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40031","url":"https://www.cve.org/CVERecord?id=CVE-2023-40031","licence":"CVE Terms of Use","modified":"2024-10-02T14:53:13.209Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40031","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40031","licence":"Public domain","modified":"2026-06-17T06:15:50.780Z"}],"updatedAt":"2026-11-25T22:58:27.364Z","epss":{"score":0.00517,"percentile":0.45479,"date":"2026-12-01T12:00:22.000Z"}}