{"apiVersion":"1.0","identifier":"CVE-2026-54758","description":"Notepad++ is a free and open-source source code editor. Prior to 8.9.7, the expandNppEnvironmentStrs function in PowerEditor/src/WinControls/StaticDialog/RunDlg/RunDlg.cpp copies a Notepad++ variable name between $( and ) into the fixed-size wchar_t str[MAX_PATH] stack buffer without bounding the m loop index, allowing a name of 260 or more characters to corrupt adjacent stack data, terminate the process through __report_gsfailure, and potentially execute code. This issue is fixed in version 8.9.7.","publishedAt":"2026-08-17T20:16:44","lastModifiedAt":"2026-08-17T22:17:14","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-54758","cvssScore":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","epssProbability":0.00194,"riskScore":0.79,"affectedProduct":"Notepad++","affectedVersions":"<8.9.7","vulnerabilityType":"Other","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-54758","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-54758","en":"https://www.redsauce.net/en/cves/CVE-2026-54758","fr":"https://www.redsauce.net/fr/cves/CVE-2026-54758","pt":"https://www.redsauce.net/pt/cves/CVE-2026-54758","de":"https://www.redsauce.net/de/cves/CVE-2026-54758","sk":"https://www.redsauce.net/sk/cves/CVE-2026-54758","el":"https://www.redsauce.net/el/cves/CVE-2026-54758"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-54758"}}