singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.
{
"license": "CC-BY-4.0",
"sources": [
{
"published": "2022-04-08T06:15:07.243Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-28805",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-28805",
"database_specific": {
"status": "Modified"
},
"modified": "2024-11-21T06:57:57.733Z",
"id": "CVE-2022-28805",
"imported": "2026-05-26T02:05:11.498Z"
}
]
}