CVE-2025-52939
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-23

Last updated on: 2025-06-23

Assigner: Government Technology Agency of Singapore Cyber Security Group (GovTech CSG)

Description
Out-of-bounds Write vulnerability in dail8859 NotepadNext (src/lua/src modules). This vulnerability is associated with program files ldebug.C, lvm.C. This issue affects NotepadNext: through v0.11.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-23
Last Modified
2025-06-23
Generated
2026-05-07
AI Q&A
2025-06-23
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
dail8859 notepadnext *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an out-of-bounds write issue in NotepadNext's Lua interpreter source code, specifically in the files ldebug.c and lvm.c. It arises from improper stack management and error handling during Lua function errors and string concatenations. The problem can cause stack overflows or corruption by not correctly managing the Lua stack when errors occur or when concatenating strings that exceed allowed lengths. [1, 2]


How can this vulnerability impact me? :

The vulnerability can lead to stack overflows or memory corruption within the Lua interpreter used by NotepadNext. This can cause the application to crash, behave unpredictably, or potentially allow an attacker to execute arbitrary code or escalate privileges by exploiting the improper error handling and unchecked string operations. [1, 2]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability is related to out-of-bounds write issues in the NotepadNext application, specifically in Lua source files ldebug.c and lvm.c. Detection would involve checking if your system is running NotepadNext version 0.11 or earlier, as these versions are affected. There are no specific network detection commands provided. On the system, you can verify the installed NotepadNext version by running commands like `notepadnext --version` or checking the installed package version. Additionally, monitoring application logs for Lua runtime errors related to stack overflow or string length overflow might help identify exploitation attempts, but no explicit commands are provided in the resources. [1, 2]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include updating NotepadNext to a version later than 0.11 where the vulnerability has been fixed. The fix involves improved error handling and stack management in the Lua interpreter source code files ldebug.c and lvm.c, preventing stack overflows and string length overflows. If an update is not immediately possible, restricting access to the application and monitoring for unusual Lua runtime errors may reduce risk. Applying patches from the official repository commits or pull requests addressing CVE-2025-52939 is recommended. [1, 2]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart