Vulnerability record · CVE-2021-45985 · published 10 April 2023
CVE-2021-45985: Lua out-of-bounds write vulnerability
Lua · Lua
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://lua-users.org/lists/lua-l/2021-12/msg00019.html | ExploitMailing ListVendor Advisory |
| https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 | Patch |
| https://www.lua.org/bugs.html#5.4.3-11 | Vendor Advisory |
| http://lua-users.org/lists/lua-l/2021-12/msg00019.html | ExploitMailing ListVendor Advisory |
| https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 | Patch |
| https://www.lua.org/bugs.html#5.4.3-11 | Vendor Advisory |
Track CVE-2021-45985 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-45985), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.