
CVE catalog
CVE-2020-24370
lua5.4: CVE-2020-24370
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.83% · Oct 25, 2026
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | lua5.3 | sid | 5.3.6-4 | fixed |
| Debian | lua5.3 | forky | 5.3.6-4 | fixed |
| Debian | lua5.3 | trixie | 5.3.6-2 | fixed |
| Debian | lua5.3 | bookworm | 5.3.6-2 | fixed |
| Debian | lua5.4 | sid | 5.4.9-1 | fixed |
| Debian | lua5.4 | forky | 5.4.9-1 | fixed |
| Debian | lua5.4 | trixie | 5.4.7-1 | fixed |
| Debian | lua5.4 | bookworm | 5.4.4-3+deb12u1 | fixed |
| Opensuse | lua53 | leap 15.2 | 5.3.6-lp152.5.3.1 | fixed |
| Opensuse | lua53 | leap 15.3 | 5.3.6-3.6.1 | fixed |
| Suse | lua53 | linux enterprise module for basesystem 15 sp2 | 5.3.6-3.6.1 | fixed |
| Suse | lua53 | linux enterprise module for basesystem 15 sp3 | 5.3.6-3.6.1 | fixed |
| Suse | lua53 | linux enterprise micro 5.0 | 5.3.6-3.6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | lua5.3 | source | sid | 5.3.6-1 | not yet assigned | Not reported | [988734] |
| Debian | lua5.3 | source | forky | 5.3.6-1 | not yet assigned | Not reported | [988734] |
| Debian | lua5.3 | source | trixie | 5.3.6-1 | not yet assigned | Not reported | [988734] |
| Debian | lua5.3 | source | bookworm | 5.3.6-1 | not yet assigned | Not reported | [988734] |
| Debian | lua5.4 | source | sid | 5.4.1-1 | not yet assigned | Not reported | [971613] |
| Debian | lua5.4 | source | forky | 5.4.1-1 | not yet assigned | Not reported | [971613] |
| Debian | lua5.4 | source | trixie | 5.4.1-1 | not yet assigned | Not reported | [971613] |
| Debian | lua5.4 | source | bookworm | 5.4.1-1 | not yet assigned | Not reported | [971613] |
| Opensuse | lua53 | rpm | leap 15.2 | 5.3.6-lp152.5.3.1 | Not reported | OPENSUSE-SU-2021:0962-1 | Not reported |
| Opensuse | lua53 | rpm | leap 15.3 | 5.3.6-3.6.1 | Not reported | OPENSUSE-SU-2021:2196-1 | Not reported |
| Suse | lua53 | rpm | linux enterprise module for basesystem 15 sp2 | 5.3.6-3.6.1 | Not reported | SUSE-SU-2021:2196-1 | Not reported |
| Suse | lua53 | rpm | linux enterprise module for basesystem 15 sp3 | 5.3.6-3.6.1 | Not reported | SUSE-SU-2021:2196-1 | Not reported |
| Suse | lua53 | rpm | linux enterprise micro 5.0 | 5.3.6-3.6.1 | Not reported | SUSE-SU-2021:2196-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [liblua5.3-0]Fixed
Source package: [lua5.3]
Details (2)
5.3.6-2· amd64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
5.3.6-2· arm64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
- [liblua5.3-0-dbg]Fixed
Source package: [lua5.3]
Details (2)
5.3.6-2· amd64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
5.3.6-2· arm64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
- [liblua5.3-dev]Fixed
Source package: [lua5.3]
Details (2)
5.3.6-2· amd64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
5.3.6-2· arm64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
- [liblua5.4-0]Fixed
Source package: [lua5.4]
Details (2)
5.4.4-3+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
5.4.4-3+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
- [liblua5.4-0-dbg]Fixed
Source package: [lua5.4]
Details (2)
5.4.4-3+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
5.4.4-3+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
- [liblua5.4-dev]Fixed
Source package: [lua5.4]
Details (2)
5.4.4-3+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
5.4.4-3+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
- [lua5.3]Fixed
Details (2)
5.3.6-2· amd64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
5.3.6-2· arm64 · bookwormFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · bookworm; dsa · lua5.3 · debian · 12
- [lua5.4]Fixed
Details (2)
5.4.4-3+deb12u1· amd64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
5.4.4-3+deb12u1· arm64 · bookwormFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12
[Debian 13 (Trixie)]
- [liblua5.3-0]Fixed
Source package: [lua5.3]
Details (2)
5.3.6-2+b4· amd64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
5.3.6-2+b4· arm64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
- [liblua5.3-0-dbg]Fixed
Source package: [lua5.3]
Details (2)
5.3.6-2+b4· amd64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
5.3.6-2+b4· arm64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
- [liblua5.3-dev]Fixed
Source package: [lua5.3]
Details (2)
5.3.6-2+b4· amd64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
5.3.6-2+b4· arm64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
- [liblua5.4-0]Fixed
Source package: [lua5.4]
Details (2)
5.4.7-1+b2· amd64 · trixieFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · 13
5.4.7-1+b2· arm64 · trixieFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · 13
- [liblua5.4-dev]Fixed
Source package: [lua5.4]
Details (2)
5.4.7-1+b2· amd64 · trixieFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · 13
5.4.7-1+b2· arm64 · trixieFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · 13
- [lua5.3]Fixed
Source package: [lua5.3]
Details (2)
5.3.6-2+b4· amd64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
5.3.6-2+b4· arm64 · trixieFixed · Fixed:
5.3.6-1dsa · lua5.3 · debian · 13
- [lua5.4]Fixed
Source package: [lua5.4]
Details (2)
5.4.7-1+b2· amd64 · trixieFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · 13
5.4.7-1+b2· arm64 · trixieFixed · Fixed:
5.4.1-1dsa · lua5.4 · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2021:4510]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_4510.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-24370]
- [https://osv.dev/vulnerability/DLA-2381-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:2196-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0962-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:2196-1]
- [https://security-tracker.debian.org/tracker/CVE-2020-24370]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-0571.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]