# CVE-2020-24342: Lua through 5.4.0 allows a stack redzone cross in luaOpushvfstring because a protection mechanism wrongly calls luaDcallnoyield twice in a…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.08%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-08-13T18:54:20.000Z
- Modified: 2026-09-08T08:48:09.154Z
- Also known as: BIT-LUA-2020-24342
- Weaknesses: CWE-119
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lua lua: 5.4.0
- fedoraproject fedora: 33
- lua (Bitnami): from 5.4.0 before 5.4.1

## Every score

- NVD: 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`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <http://lua-users.org/lists/lua-l/2020-07/msg00052.html> (exploit, advisory, mailing-list, vendor-advisory)
- <https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27> (advisory, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA5Q5MDQMTGXRQO3PAQ4EZFTYWJXZM5N/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-24342> (web)

## Sources

- CVE List: [CVE-2020-24342](https://www.cve.org/CVERecord?id=CVE-2020-24342), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-24342](https://nvd.nist.gov/vuln/detail/CVE-2020-24342), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LUA-2020-24342](https://osv.dev/vulnerability/BIT-LUA-2020-24342), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-24342 · Whole record: https://cve.day/CVE-2020-24342.json · Rebuilt by cve.day 2026-11-25T22:57:54.181Z
