CVE-2022-31901 Memory corruption in n/a

Medium 6.5 Published Updated

Attackers can crash Notepad++ by opening two crafted files due to a buffer overflow in the hotspot addition function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-31901?

CVE-2022-31901 is a medium-severity memory corruption vulnerability in n/a, published on 19 Jan 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2022-31901?

It affects 1 product.

Products include Notepad-Plus-Plus Notepad\+\+.

How do I fix CVE-2022-31901?

No fix has been published for CVE-2022-31901 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-31901 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31901 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-v6qv-5wc9-pq33.

Is CVE-2022-31901 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free