Skip to content
Fencer Intel
high 7.5

CVE-2019-6706 in the critical feed json

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

published 7y ago modified 3mo ago also EUVD-2019-16264 , JLSEC-2026-553

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
17.4%
EPSS 17.4% chance of exploitation in 30 days, percentile 97%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • julia Lua_jll 5.3.6+0
  • lua5.3 Debian 14, Debian 13, Debian 12 5.3.6-1

debian advisories DEBIAN-CVE-2019-6706

  • lua5.3 Ubuntu 16.04 LTS 5.3.1-1ubuntu2.1
  • lua5.3 Ubuntu 18.04 LTS 5.3.3-1ubuntu0.18.04.1

ubuntu advisories UBUNTU-CVE-2019-6706

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • lua RHEL 8 5.3.4-11.el8
  • lua-libs RHEL 8 5.3.4-11.el8

red hat advisories RHSA-2019:3706

  • lua53 SLE Module for Basesystem 15 5.3.4-3.3.2

suse advisories SUSE-SU-2019:0247-1

  • lua53 openSUSE Leap 15.0 5.3.4-lp150.2.3.1

opensuse advisories openSUSE-SU-2019:0175-1

  • lua AlmaLinux 8 5.3.4-11.el8

almalinux advisories ALSA-2019:3706

  • lua Rocky Linux 8 5.3.4-11.el8

rocky linux advisories RLSA-2019:3706

  • lua5.3 Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 5.3.5-r2
  • lua5.3 Alpine 3.7 5.3.5-r0
  • lua5.4 Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 5.3.5-r2

alpine advisories ALPINE-CVE-2019-6706

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • lua CBL-Mariner 2.0 5.3.5-11

azure linux advisories AZL-6669

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2019-6706 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-6706 updated cvss 7.5

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

  • Red Hat Ceph Storage 3 ceph, librbd1, librgw2, ceph-mds, ceph-mgr, ceph-mon, +15 more
    affected: no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder (v. 8) lua 5.3.4-11.el8 Red Hat Enterprise Linux AppStream (v. 8) lua 5.3.4-11.el8 Red Hat Enterprise Linux BaseOS (v. 8) lua 5.3.4-11.el8, lua-libs 5.3.4-11.el8
    fixed: vendor fix RHSA-2019:3706
  • Red Hat Enterprise Linux 6 lua Red Hat Enterprise Linux 7 lua Red Hat JBoss Web Server 5 lua
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-46246)

Exploit prediction

17.38% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-46246 Lua 5.3.5 - 'debug.upvaluejoin' Use After Free dos, 2019-01-25
  • packetstormsecurity.com http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia Lua_jll
<5.3.6+0
5.3.6+0

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.