Synced 18 Jun 2026 05:58 UTC Account
← All products

CVE-2021-45985

HIGH severity · CVSS 7.5 · Out-of-bounds write
7.5CVSS HIGH

Summary

In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactNone
Integrity impactNone
Availability impactHigh
Exploit probability (EPSS)1%

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products we track (1)

Lua

Recommendation

Apply the vendor fix promptly. Open any affected product above for its exact safe version.

Official patch: https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 ↗