CVE-2025-52939

Source
https://cve.org/CVERecord?id=CVE-2025-52939
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52939.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-52939
Downstream
Published
2025-06-23T09:26:56.917Z
Modified
2026-07-09T19:10:16.542554Z
Severity
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:N/AU:Y/R:U/V:C/RE:M/U:Red CVSS Calculator
Summary
Potential heap-buffer overflow vulnerability in NotepadNext
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52939.json",
    "cna_assigner": "GovTech CSG",
    "cwe_ids": [
        "CWE-787"
    ]
}
References

Affected packages

Git / github.com/dail8859/notepadnext

Affected ranges

Type
GIT
Repo
https://github.com/dail8859/notepadnext
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "v0.11"
        }
    ]
}

Affected versions

v0.*
v0.1
v0.10
v0.11
v0.2
v0.3
v0.3.1
v0.3.2
v0.3.3
v0.4
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.4.9
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.6
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.7
v0.8
v0.9

Database specific

vanir_signatures_modified
"2026-07-09T19:10:16Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52939.json"
vanir_signatures
[
    {
        "id": "CVE-2025-52939-195fee2c",
        "digest": {
            "line_hashes": [
                "109160025163517894246555464311927905168",
                "159618918195428700036162165579477364744",
                "283141188429944630371482485266135235772",
                "221963446402022317367091809335463570364",
                "244764617910085233208160284415443226461",
                "237849260543562680110344945870625485769",
                "37562800747512701822999390229154263700",
                "219524848240838254345629611037116750206",
                "108725855737991599988774000492808822080"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/dail8859/notepadnext/commit/3e928d91b8fc8bb5c77801ee8652f41e98d12571",
        "deprecated": false,
        "target": {
            "file": "src/lua/src/lvm.c"
        }
    },
    {
        "id": "CVE-2025-52939-2334d450",
        "digest": {
            "function_hash": "258277994694759977460106283175756763753",
            "length": 337.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/dail8859/notepadnext/commit/3e928d91b8fc8bb5c77801ee8652f41e98d12571",
        "deprecated": false,
        "target": {
            "function": "luaG_runerror",
            "file": "src/lua/src/ldebug.c"
        }
    },
    {
        "id": "CVE-2025-52939-3b006176",
        "digest": {
            "function_hash": "64633869205412628438747901374518934461",
            "length": 1059.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/dail8859/notepadnext/commit/3e928d91b8fc8bb5c77801ee8652f41e98d12571",
        "deprecated": false,
        "target": {
            "function": "luaV_concat",
            "file": "src/lua/src/lvm.c"
        }
    },
    {
        "id": "CVE-2025-52939-d89fc0d5",
        "digest": {
            "line_hashes": [
                "47064890593937786897531178058191810844",
                "138912143874367540401104822690246485002",
                "288992524067399130896317049326973779263",
                "197042422895227100265124330746984136449",
                "302716735206890089776290500244915829848"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/dail8859/notepadnext/commit/3e928d91b8fc8bb5c77801ee8652f41e98d12571",
        "deprecated": false,
        "target": {
            "file": "src/lua/src/ldebug.c"
        }
    }
]