CVE-2021-45985: Lua

High severity, CVSS 7.5. EPSS: 1.4% probability of exploitation activity 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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

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

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.