CVE-2023-40166

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

State
Published
Severity
5.5 Medium
Published
Aug 25, 2023
Updated
Oct 2, 2024
Reserved
Aug 9, 2023

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
  • CWE-122 Heap-based Buffer Overflow

Affected Products

ProductVersions
notepad-plus-plusnotepad-plus-plus
  • <= 8.5.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.