CVE-2021-45985 In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
HighCVSS 7.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/lua5.4(Debian:12) | < 5.4.4-1 | 5.4.4-1 |
| debian/lua5.4(Debian:13) | < 5.4.4-1 | 5.4.4-1 |
| debian/lua5.4(Debian:14) | < 5.4.4-1 | 5.4.4-1 |
| ubuntu/darktable(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/tup(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/vifm(Ubuntu:22.04) | All versions | No fix listed |
| lua | >= 5.4.0, < 5.4.4 | 5.4.4 |
| ubuntu/darktable(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/tup(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/vifm(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/darktable(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/tup(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/vifm(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/darktable(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/tup(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/vifm(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2021-45985 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- lua-users.org exploit mailing-list vendor-advisory
- github.com patch
- www.lua.org vendor-advisory