Skip to main content
No exploitation reportedFix available

CVE-2021-43519

No exploitation reported by the sources we read.

  • Published2021-11-09
  • Fixed in5.4.4 · 5.3.5
  • WeaknessCWE-674

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

Stack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file.

Timeline

dates in UTC
  1. 2021-11-0913:15CVE publishedNVD

Versions per branch

NVD · OSV
Lua
BranchAffectedFixed in
5.4≥ 5.4.0, < 5.4.45.4.4
5.x≥ 5.1.0, < 5.3.55.3.5
Fedoraproject fedora
BranchAffectedFixed in
35.x= 35no fix published

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

  • bamUbuntu:26.10all versions · no fixed version listedand 15 other packages
  • bamUbuntu:26.04:LTSall versions · no fixed version listedand 15 other packages
  • bamUbuntu:25.10all versions · no fixed version listedand 15 other packages
  • bamUbuntu:24.04:LTSall versions · no fixed version listedand 16 other packages
  • bamUbuntu:22.04:LTSall versions · no fixed version listedand 17 other packages
  • bamUbuntu:20.04:LTSall versions · no fixed version listedand 16 other packages
  • bamUbuntu:18.04:LTSall versions · no fixed version listedand 13 other packages
  • bamUbuntu:16.04:LTSall versions · no fixed version listedand 11 other packages

17 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-43519 Red Hat Product Security116 products fixed · 6 known affected

    lua: stack overflow in lua_resume of ldo.c allows a DoS via a crafted script file

    lua-devel as a component of Red Hat Enterprise Linux 6 · lua-static as a component of Red Hat Enterprise Linux 6 · lua.src as a component of Red Hat Enterprise Linux 6 · +3 more

  • RHSA-2023:1211 Red Hat Product Security58 products fixed

    Red Hat Security Advisory: lua security update

  • RHSA-2023:0957 Red Hat Product Security58 products fixed

    Red Hat Security Advisory: lua security update

Full record on NVD

Fix

  1. Update Lua to 5.4.4 · 5.3.5
  2. Vendor fix Red Hat Product Security RHSA-2023:1211 · 58 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. No fix planned, says the vendor Red Hat Product Security CVE-2021-43519 · 6 productsOut of support scope

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

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
2021-11-09
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-g78p-3v3v-h7wm

Frequently asked questions

What is CVE-2021-43519?

Stack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file.

Is CVE-2021-43519 actively exploited?

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

What is the CVSS score for CVE-2021-43519?

CVE-2021-43519 has a CVSS v3 base score of 5.5 (Medium severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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