CVE-2025-52938

Source
https://cve.org/CVERecord?id=CVE-2025-52938
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52938.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-52938
Published
2025-06-23T10:15:27.857Z
Modified
2026-04-12T18:40:03.074271Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:D/RE:M/U:Amber CVSS Calculator
Summary
[none]
Details

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.

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
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "v0.11."
        }
    ]
}
Type
GIT
Repo
https://github.com/dail8859/notepadnext
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

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-04-12T18:40:03Z"
vanir_signatures
[
    {
        "id": "CVE-2025-52938-6962136b",
        "target": {
            "file": "src/lua/src/lparser.c"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "32201794497045802336489965260675966661",
                "62070470726804165498189986985088028985",
                "64426429022605310367324308078587404372",
                "155009965578900331517939787049871456751"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/dail8859/notepadnext/commit/66b8a97d9fdfd2257996875716f39c18d84e004f",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-52938-b0007fa0",
        "target": {
            "file": "src/lua/src/lparser.c",
            "function": "singlevar"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "131528664468641967379396546283768875518",
            "length": 355.0
        },
        "signature_type": "Function",
        "source": "https://github.com/dail8859/notepadnext/commit/66b8a97d9fdfd2257996875716f39c18d84e004f",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52938.json"