# CVE-2020-15888: Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-ba…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/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): 2.44%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2020-07-21T21:36:02.000Z
- Modified: 2026-09-08T08:48:09.195Z
- Also known as: BIT-LUA-2020-15888
- Weaknesses: CWE-125, CWE-416, CWE-787
- Assigned by: mitre

## Description

Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-based buffer over-read, or use-after-free.

(As written by CVE List.)

## Affected

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

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/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/msg00053.html> (exploit, advisory, mailing-list, third-party-advisory)
- <http://lua-users.org/lists/lua-l/2020-07/msg00054.html> (exploit, advisory, mailing-list, third-party-advisory)
- <http://lua-users.org/lists/lua-l/2020-07/msg00071.html> (exploit, advisory, mailing-list, third-party-advisory)
- <http://lua-users.org/lists/lua-l/2020-07/msg00079.html> (exploit, advisory, mailing-list, third-party-advisory)
- <https://github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5> (advisory, patch, third-party-advisory)
- <https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15888> (web)

## Sources

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

---

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