QID 379100

Date Published: 2023-12-07

QID 379100: Notepad++ Denial of Service (DoS) Vulnerabilities

Notepad++ is a text editor and source code editor for Windows.

Vulnerability triggering, via opening two specially crafted text files as input to notepad++.
Affected Versions:
Notepad++ versions 8.4.9 (32-bit) and before.

QID Detection Logic(Authenticated):
This QID checks for vulnerable version of NotePad ++ by checking the exe file.

When notepad++ opens any file it calls a function addHotSpot which creates heap memory with new operator and stores the return address in wide text variable. Since it requests for large allocation, new returns bad alloc which is not handled in notepad++ and results in DoS.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Customers are advised to upgrade to Notepad++ version 8.4.9 For more information, click here.
    Vendor References

    CVEs related to QID 379100

    Software Advisories
    Advisory ID Software Component Link
    CVE-2022-31901 URL Logo github.com/CDACesec/CVE-2022-31901