CVE-2020-15888 Use after free in n/a

High 8.8 Published Updated

Attackers can exploit heap corruption in Lua to execute arbitrary code or cause denial of service via stack resize and garbage collection interactions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-15888?

CVE-2020-15888 is a high-severity use after free vulnerability in n/a, published on 21 Jul 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787, CWE-416, CWE-125

Which versions are affected by CVE-2020-15888?

1 open source package ship an affected version, including lua. It affects 1 product.

PackageAffectedFixed in
lua BitnamiFrom 5.4.05.4.1

Products include Lua Lua.

How do I fix CVE-2020-15888?

Upgrade lua to 5.4.1 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-15888 being exploited?

There is no known exploitation of CVE-2020-15888 in the wild and no public exploit code.

Sources

Also known as AZL-6670, BIT-lua-2020-15888, DEBIAN-CVE-2020-15888, GHSA-4f5v-4r5w-g4x3.

Is CVE-2020-15888 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free