Lua vulnerabilitiesNone on the known-exploited list.

Vendor
The short answer

Lua has 17 published vulnerabilities across 1 product in our catalogue. None of them is on the list of flaws known to be exploited today. The most affected product is Lua, with 17. If you run Lua software, patch the exploited flaws first.

See the exploited flaws

We keep watching the known-exploited list.

Products

Which Lua products have the most vulnerabilities?

Lua leads with 17 published vulnerabilities. Open a product to see its versions and which of its flaws criminals are already using.

  1. Lua17
Published vulnerabilities
Known exploited

Which Lua vulnerabilities are being exploited?

This is the list that matters most: flaws criminals are using now.

None of Lua's published vulnerabilities is on the list of flaws known to be exploited today. We keep watching that list.

Exploit likelihood

Which Lua flaws are most likely to be used?

Ranked by the latest exploit-likelihood forecast: the chance each flaw is used in an attack in the next 30 days. A high severity score on its own doesn't tell you that. Flaws shared by many other makers' products are left out.

50% or more10% to 49%Under 10%
  1. 17%

    Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c.

    CVSS7.5Published23 Jan 2019
  2. 12%

    Buffer overflow in the vararg functions in ldo.c in Lua 5.1 through 5.2.x before 5.2.3 allows context-dependent attackers to cause a denial of service (crash) via a small number of arguments to a function with a...

    CVSS5.0Published4 Sep 2014
  3. 3.8%

    ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).

    CVSS5.3Published17 Aug 2020
  4. 3.0%

    singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.

    CVSS9.1Published8 Apr 2022
  5. 2.8%

    An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

    CVSS7.5Published1 Jul 2022
  6. 2.4%

    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.

    CVSS8.8Published21 Jul 2020
  7. 2.2%

    Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list members.

    CVSS9.8Published21 Jul 2020
  8. 2.1%

    An issue was discovered in Prosody before 0.11.9.

    CVSS7.5Published13 May 2021
  9. 1.7%

    lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.

    CVSS5.3Published17 Aug 2020
  10. 1.7%

    ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.

    CVSS7.5Published17 Aug 2020
Every product

All Lua products we track.

1 products, most vulnerabilities first. Find the ones you run, then open a product to see its versions and exploited flaws.

Precursor Intelligence

Running Lua? We'll keep checking.

Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.

  1. Tell us what you runPick your software from a list, or let us work it out from your website.
  2. We match it to every flawOver 400,000 published flaws, checked against your list.
  3. Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
  4. Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.

Free plan, no card needed. Nothing to install.

FAQ

Common questions, answered plainly.

Something else? Talk to the team →

Our catalogue lists 17 published vulnerabilities across 1 product and 40 versions from Lua.

None of Lua's vulnerabilities is on the list of flaws known to be exploited today.

Lua, with 17 published vulnerabilities. Its own page lists the ones known to be exploited.

Create a Precursor Intelligence account and track the Lua products you run. We match them against every published flaw, give each one a risk score from 0 to 100 and tell you as soon as we spot one that affects you, by email, in the app or by webhook.