Skip to main content
No exploitation reportedFix available

CVE-2020-15888

No exploitation reported by the sources we read.

  • Published2020-07-21
  • WeaknessCWE-125 · CWE-416 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-07-2122:15CVE publishedNVD

Versions per branch

NVD · OSV
Lua
BranchAffectedFixed in
5.4= 5.4.0no fix published
lua
BranchAffectedFixed in
5.4≥ 5.4.0, < 5.4.15.4.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • luaAzure Linux:2all versions · fixed in 5.3.5-11
  • lua5.4Debian:14all versions · fixed in 5.4.1-1
  • lua5.4Debian:13all versions · fixed in 5.4.1-1
  • lua5.4Debian:12all versions · fixed in 5.4.1-1
  • lua55openSUSE:Tumbleweedall versions · fixed in 5.5.0~beta1-1.1

Vendor advisories

  • CVE-2020-15888 Red Hat Product Security

    lua: stack resizes and garbage collection leads to heap-based buffer overflow

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.18.8read 2026-10-23
  • NVDCVSS 2.06.8read 2026-10-23
  • NVDweakness (CWE)CWE-125, CWE-416, CWE-787read 2026-10-23
  • FIRST EPSSEPSS score2.4 %2026-12-04
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2020-07-21
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-4f5v-4r5w-g4x3

Frequently asked questions

What is 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-based buffer over-read, or use-after-free.

Is CVE-2020-15888 actively exploited?

Active exploitation of CVE-2020-15888 has not been confirmed. Its EPSS score was 2.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-15888?

CVE-2020-15888 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running lua? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record