CVE-2023-40166

    Dashboard / Vulnerabilities / CVE-2023-40166

    CVE-2023-40166

    Published: 25 Aug 2023Last Modified: 12 Aug 2026

    Summary: Notepad++ heap buffer read overflow in FileManager::detectLanguageFromTextBegining

    Details: Notepad++ is a free and open-source source code editor. Versions 8.5.6 and prior are vulnerable to heap buffer read overflow in `FileManager::detectLanguageFromTextBegining `. The exploitability of this issue is not clear. Potentially, it may be used to leak internal memory allocation information. As of time of publication, no known patches are available in existing versions of Notepad++.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    v8.5.6
    v8.5.5
    v8.5.4
    v8.5.3
    v8.5.2
    v8.5.1
    v8.5

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2023-40166 | CVE-DB