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
- github.com/lua/lua@89aee84 commit
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 FencerVendor 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 moreaffected: 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.el8fixed: vendor fix RHSA-2019:3706
-
Red Hat Enterprise Linux 6 lua Red Hat Enterprise Linux 7 lua Red Hat JBoss Web Server 5 luanot 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
- Published
- 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
-
- CWE-416 Use After Free
References
-
github.com
/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
patch, third-party-advisory, web
-
packetstormsecurity.com
/files/151335/Lua-5.3.5-Use-After-Free.html
exploit, third-party-advisory, vdb-entry, web
-
github.com
/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
exploit, third-party-advisory, web
-
lua-users.org
/lists/lua-l/2019-01/msg00039.html
broken-link, web
-
access.redhat.com
/security/cve/cve-2019-6706
third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2023/06/msg00031.html
mailing-list, web
Sources
- CVE List CVE-2019-6706
- NVD CVE-2019-6706
- OSV JLSEC-2026-553
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.