CVE-2023-40166

MEDIUM

Notepad++ < 8.5.6 - Heap-based Buffer Overflow in FileManager Language Detection

Title source: llm
STIX 2.1

Description

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

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://securitylab.github.com/advisories/GHSL-2023-092_Notepad__/

Scores

CVSS v3 5.5
EPSS 0.0047
EPSS Percentile 37.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-120 CWE-122
Status published
Products (1)
notepad-plus-plus/notepad\+\+ < 8.5.6
Published Aug 25, 2023
Tracked Since Feb 18, 2026