Lua through 5.4.0 allows a stack redzone cross in luaOpushvfstring because a protection mechanism wrongly calls luaDcallnoyield twice in a row.
{
"unresolved_ranges": [
{
"source": "CPE_STRING",
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"introduced": "33"
},
{
"last_affected": "33"
}
],
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
]
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24342.json"
"2026-07-08T19:02:31Z"
[
{
"signature_version": "v1",
"source": "https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27",
"id": "CVE-2020-24342-46e61d2d",
"digest": {
"length": 203.0,
"function_hash": "19393622418567517198781995424538435971"
},
"target": {
"function": "luaD_callnoyield",
"file": "ldo.c"
},
"deprecated": false,
"signature_type": "Function"
},
{
"signature_version": "v1",
"source": "https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27",
"id": "CVE-2020-24342-e3b3e09e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"307434724169721203115088959011068448315",
"142710705972916715821753310510346050538",
"132059686558750829782112284199427550874",
"289888402931218646482748640243965616128",
"244127718289203141723121943598927242891",
"17269890457240028859642241902384334321",
"54095854288253291227407020601160490895"
]
},
"target": {
"file": "ldo.c"
},
"deprecated": false,
"signature_type": "Line"
}
]