Vulnerability database / CVE-2022-28805
CVE-2022-28805
CRITICAL 9.1 CVSS 3.1 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.
Published 8 Apr 2022
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-125 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.4
AV:N/AC:L/Au:N/C:P/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
lua
luacpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*
>= 5.4.0, < 5.4.5
5.4.5 NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
References
History
25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Apr 2022)