PT-2022-3822

CVE-2022-28805

·

Published

2022-02-15

·

Updated

2026-10-31

Description by

CVSS 2.0
9.4
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:N/A:C
Name of the Vulnerable Software and Affected Versions Lua versions 5.4.0 through 5.4.4
Description The issue is related to a heap-based buffer over-read in the singlevar function in lparser.c of Lua. This might affect systems that compile untrusted Lua code, potentially allowing a remote attacker to execute arbitrary code. The problem is caused by a missing luaK exp2anyregup call.
Recommendations For Lua versions 5.4.0 through 5.4.3, update to version 5.4.4 or later to resolve the issue. For Lua version 5.4.4, although it is mentioned as part of the vulnerable range, the exact fix version is not explicitly stated, but it is implied that updating beyond this version would mitigate the risk. At the moment, there is no information about additional mitigation measures for this specific vulnerability.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
ALSA-2023:2582
ALT-PU-2024-3994
AZL-40812
AZL-9333
BIT-LUA-2022-28805
CLEANSTART-2026-QO43475
OESA-2022-1632
RHSA-2023:2582
RHSA-2023_2582
USN-6916-1
Found an issue in the description? Have something to add? Feel free to write us 👾