Vulnerability · Published Jun 23, 2025 · Assigned by GovTech CSG
CVE-2025-52938Potential heap-based buffer over-read vulnerability in NotepadNext
Medium 5.1
In plain English
A medium-severity out-of-bounds read in NotepadNext from dail8859. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).
Official description
Out-of-bounds Read vulnerability in dail8859 NotepadNext (src/lua/src modules). This vulnerability is associated with program files lparser.C. This issue affects NotepadNext: through v0.11. The singlevar() in lparser.c lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dail8859 | NotepadNext | 0 – through v0.11 |
Weakness: CWE-125 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/S:N/AU:Y/R:A/V:D/RE:M/U:Amber
References
- https://github.com/dail8859/NotepadNext/pull/756 patch, third-party-advisory
- https://github.com/dail8859/NotepadNext/commit/66b8a97d9fdfd2257996875716f39c18d84e004f patch