Skip to main content
Public proof of conceptFix available

CVE-2019-6706

A public proof of concept exists; no exploitation attested.

  • Published2019-01-23
  • WeaknessCWE-416

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 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships.

Timeline

dates in UTC
  1. 2019-01-25Exploit-DB entryExploit-DB

Versions per branch

NVD
Lua
BranchAffectedFixed in
5.3= 5.3.5no fix published
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04no fix published
18.4= 18.04no fix published
18.10= 18.10no 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

  • luaRocky Linux:8all versions · fixed in 0:5.3.4-11.el8
  • luaRed Hat:enterprise_linux:8::crball versions · fixed in 0:5.3.4-11.el8and 4 other packages
  • luaRed Hat:enterprise_linux:8::baseosall versions · fixed in 0:5.3.4-11.el8and 4 other packages
  • luaRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:5.3.4-11.el8and 3 other packages
  • luaAzure Linux:2all versions · fixed in 5.3.5-11
  • luaAlmaLinux:8all versions · fixed in 5.3.4-11.el8and 1 other package
  • lua5.3Ubuntu:18.04:LTSall versions · fixed in 5.3.3-1ubuntu0.18.04.1
  • lua5.3Ubuntu:16.04:LTSall versions · fixed in 5.3.1-1ubuntu2.1

28 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-6706 Red Hat Product Security58 products fixed · 25 known affected

    lua: use-after-free in lua_upvaluejoin in lapi.c resulting in denial of service

    ceph-base as a component of Red Hat Ceph Storage 3 · ceph-common as a component of Red Hat Ceph Storage 3 · ceph-fuse as a component of Red Hat Ceph Storage 3 · +22 more

  • RHSA-2019:3706 Red Hat Product Security58 products fixed

    Red Hat Security Advisory: lua security and bug fix update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2019:3706 · 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
  2. No fix planned, says the vendor Red Hat Product Security CVE-2019-6706 · 25 productsWill not fix

Advisories and patches

Detection

read 2026-11-09 09:28 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-46246
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2019-01-23
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-f6gj-vrmg-ccf7

Frequently asked questions

What is CVE-2019-6706?

Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships.

Is CVE-2019-6706 actively exploited?

Active exploitation of CVE-2019-6706 has not been confirmed. Its EPSS score was 17.4% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-6706?

CVE-2019-6706 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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 lookups · 250 API requests/month

Sources for this record