# CVE-2025-52938: Potential heap-based buffer over-read vulnerability in NotepadNext

- Severity: Medium 5.1 (CVSS:4.0, scored by GovTech CSG) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-06-23T09:26:39.214Z
- Modified: 2026-06-17T09:37:18.323Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GovTech CSG

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

(As written by CVE List.)

## Affected

- dail8859 NotepadNext: up to v0.11

## References

- <https://github.com/dail8859/NotepadNext/pull/756> (patch, third-party-advisory)
- <https://github.com/dail8859/NotepadNext/commit/66b8a97d9fdfd2257996875716f39c18d84e004f> (patch)

## Sources

- CVE List: [CVE-2025-52938](https://www.cve.org/CVERecord?id=CVE-2025-52938), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-52938](https://nvd.nist.gov/vuln/detail/CVE-2025-52938), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52938 · Whole record: https://cve.day/CVE-2025-52938.json · Rebuilt by cve.day 2026-11-25T22:58:59.524Z
