Live threats

All CVEs / Lua

CVE-2022-28805Lua

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Apr 8, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lua.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
lualua≥ 5.4.0 < 5.4.5
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.