CVE-2021-45985

Summary

CVECVE-2021-45985
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-04-10 09:15:00 UTC
Updated2023-04-14 03:51:00 UTC
DescriptionIn Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Lua Lua 5.4.3 All All All

References

ReferenceSourceLinkTags
Lua: bugs MISC www.lua.org Vendor Advisory
Crash Analysis : Erroneous finalizer called during tail call leads to heap buffer overflow MISC lua-users.org Exploit, Mailing List, Vendor Advisory
Bug: finalizers can be called with an invalid stack · lua/lua@cf613cd · GitHub MISC github.com Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 182015 Debian Security Update for lua5.4 (CVE-2021-45985)
  • 357240 Amazon Linux Security Advisory for lua : ALAS2023-2024-533
  • 673856 EulerOS Security Update for lua (EulerOS-SA-2023-2697)
  • 674003 EulerOS Security Update for lua (EulerOS-SA-2023-2655)
  • 906856 Common Base Linux Mariner (CBL-Mariner) Security Update for memcached (26155-1)
  • 906859 Common Base Linux Mariner (CBL-Mariner) Security Update for ntopng (26158-1)
  • 906876 Common Base Linux Mariner (CBL-Mariner) Security Update for lua (26047-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report