CVE-2021-45985: Lua

High severity, CVSS 7.5. EPSS: 1.4% chance of exploitation in the next 30 days.

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

Affected products

  • Lua Lua: from 5.4.0, before 5.4.4 (fixed in 5.4.4)

Published 2023-04-10. Last modified 2026-06-17.