Medium severity · published Jan 19, 2023
CVE-2022-31901
Buffer overflow in function Notepad_plus::addHotSpot in Notepad++ v8.4.3 and earlier allows attackers to crash the application via two crafted files
6.5
CVSS
1.3%
EPSS
No
On KEV
Description
Buffer overflow in function Notepad_plus::addHotSpot in Notepad++ v8.4.3 and earlier allows attackers to crash the application via two crafted files.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NO
Notepad++ · Notepad-plus-plus
through 8.4.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-31901
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-31901
Exploit
https://github.com/CDACesec/CVE-2022-31901
More from Notepad++
7.5
CVE-2025-15556
Notepad++ < 8.8.9 WinGUp Updater Lacks Update Integrity Verification
7.8
CVE-2026-48778
Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter
7.8
CVE-2026-46710
Notepad++: Privilege Escalation in the Installer via Uncontrolled Executable Search Path
7.8
CVE-2026-48800
Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection
7.8
CVE-2026-52884
Notepad++: CVE-2026-48800 Bypass
