CVE-2020-24369

Source
https://cve.org/CVERecord?id=CVE-2020-24369
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24369.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-24369
Aliases
Downstream
Related
Published
2020-08-17T17:15:13.817Z
Modified
2026-07-08T19:02:35.077490Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.

References

Affected packages

Git / github.com/lua/lua

Affected ranges

Type
GIT
Repo
https://github.com/lua/lua
Events
Database specific
{
    "cpe": "cpe:2.3:a:lua:lua:5.4.0:-:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "5.4.0-NA"
        },
        {
            "last_affected": "5.4.0-NA"
        }
    ]
}

Affected versions

5.*
5.4.0-NA
v5.*
v5.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24369.json"
vanir_signatures_modified
"2026-07-08T19:02:35Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "source": "https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a",
        "id": "CVE-2020-24369-09480371",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "191357327930270353914184361696403200245",
                "81257735572345837800767669984728473029",
                "79202178554810973801731794510384921731",
                "214496039041368728151161948384834180113",
                "327015659194682228887671907297498597185",
                "131947794654282215377006389794341554693",
                "142406554357787015911062368758120942388",
                "283583517597706205043460995415619269999",
                "252187278128377095359608730677865696776"
            ]
        },
        "target": {
            "file": "ldebug.c"
        },
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a",
        "id": "CVE-2020-24369-708972b8",
        "digest": {
            "length": 233.0,
            "function_hash": "112196691550847094243539598721974676716"
        },
        "target": {
            "function": "changedline",
            "file": "ldebug.c"
        },
        "deprecated": false,
        "signature_type": "Function"
    }
]