ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
{
"license": "CC-BY-4.0",
"sources": [
{
"published": "2020-08-17T17:15:13.877Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24370",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-24370",
"database_specific": {
"status": "Analyzed"
},
"modified": "2025-05-05T14:12:47.407Z",
"id": "CVE-2020-24370",
"imported": "2026-05-26T02:05:11.028Z"
}
]
}