CVE-2020-15888
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
2.44% (higher than 84% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
BIT-LUA-2020-15888

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
lua lua5.4.0NVD
lua (Bitnami)from 5.4.0 before 5.4.1Bitnami Vulnerability Database

All scores

NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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.

NVD (es)

Lua versiones hasta 5.4.0, maneja inapropiadamente la interacción entre el cambio de tamaño de la pila y la recolección de basura, conllevando a un desbordamiento del búfer en la región heap de la memoria, a una lectura excesiva del búfer en la región heap de la memoria o un uso de la memoria previamente liberada

References

https://github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5advisory, patch, third-party-advisory
https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7advisory, patch, third-party-advisory
http://lua-users.org/lists/lua-l/2020-07/msg00053.htmladvisory, exploit, mailing-list, third-party-advisory
http://lua-users.org/lists/lua-l/2020-07/msg00054.htmladvisory, exploit, mailing-list, third-party-advisory
http://lua-users.org/lists/lua-l/2020-07/msg00071.htmladvisory, exploit, mailing-list, third-party-advisory
http://lua-users.org/lists/lua-l/2020-07/msg00079.htmladvisory, exploit, mailing-list, third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2020-15888web

Sources

SourceRecordLicence
CVE ListCVE-2020-15888 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-15888 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-LUA-2020-15888 changed 2026-09-08Apache-2.0