Vulnerability record · CVE-2021-44964 · published 14 March 2022
CVE-2021-44964: Lua use after free vulnerability
Lua · Lua
Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.
Description
Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/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-11/msg00186.html | ExploitMailing ListTechnical DescriptionVendor Advisory |
| http://lua-users.org/lists/lua-l/2021-12/msg00007.html | ExploitMailing ListVendor Advisory |
| http://lua-users.org/lists/lua-l/2021-12/msg00015.html | Mailing ListVendor Advisory |
| http://lua-users.org/lists/lua-l/2021-12/msg00030.html | Mailing ListVendor Advisory |
| https://github.com/Lua-Project/lua-5.4.4-sandbox-escape-with-new-vulnerability | ExploitThird Party Advisory |
| http://lua-users.org/lists/lua-l/2021-11/msg00186.html | ExploitMailing ListTechnical DescriptionVendor Advisory |
| http://lua-users.org/lists/lua-l/2021-12/msg00007.html | ExploitMailing ListVendor Advisory |
| http://lua-users.org/lists/lua-l/2021-12/msg00015.html | Mailing ListVendor Advisory |
| http://lua-users.org/lists/lua-l/2021-12/msg00030.html | Mailing ListVendor Advisory |
| https://github.com/Lua-Project/lua-5.4.4-sandbox-escape-with-new-vulnerability | ExploitThird Party Advisory |
Track CVE-2021-44964 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-44964), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.