CVE-2020-24342
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection...
CVE-2020-24342 is a high vulnerability (CVSS 7.8) in Lua, published August 13, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.08%, the 65th percentile. Fixed in lua 5.4.1.
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
- Record
CVE-2020-24342- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
- Record
CVE-2020-24342- Updated
- 2026-11-02
EUVDEUVD-2020-17076 No score
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
- Record
EUVD-2020-17076- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ggfm-9pxx-qx8r No score
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection...
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
- Record
GHSA-ggfm-9pxx-qx8r- Weakness
- CWE-119
- Updated
- 2026-11-02
OSVBELL-CVE-2020-24342
7.8
CVE-2020-24342 does not affect BellSoft software
- Record
BELL-CVE-2020-24342- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
- Record
CVE-2020-24342- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2020-24342
7.8
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
- Record
DEBIAN-CVE-2020-24342- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-lua-2020-24342 No score
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
- Record
BIT-lua-2020-24342- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11029-1 No score
liblua5_4-5-32bit-5.4.3-4.2 on GA media
These are all security issues fixed in the liblua5_4-5-32bit-5.4.3-4.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11029-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15401-1 No score
liblua5_5-5-5.5.0~beta1-1.1 on GA media
These are all security issues fixed in the liblua5_5-5-5.5.0~beta1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15401-1- Updated
- 2026-11-02
Affected products
Affected packages
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
lua-users.org/lists/lua-l/2020-07/msg00052.html
github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA5Q5MDQMTGXRQO3PAQ4EZFTYWJXZM5N
nvd.nist.gov/vuln/detail/CVE-2020-24342
lists.fedoraproject.org/archives/list/[email protected]/message/QA5Q5MDQMTGXRQO3PAQ4EZFTYWJXZM5N
github.com/advisories/GHSA-ggfm-9pxx-qx8r
Show 11 moreShow less
docs.bell-sw.com/security/cves/CVE-2020-24342
security-tracker.debian.org/tracker/CVE-2020-24342
suse.com/security/cve/CVE-2020-15888
suse.com/security/cve/CVE-2020-15945
suse.com/security/cve/CVE-2020-24342
suse.com/security/cve/CVE-2020-24369
suse.com/security/cve/CVE-2020-24370
suse.com/security/cve/CVE-2020-24371
suse.com/security/cve/CVE-2021-43519
suse.com/security/cve/CVE-2021-44647
suse.com/security/cve/CVE-2022-33099