lua: use-after-free in lua_upvaluejoin in lapi.c resulting in denial of service
Published Jan 23, 2019
7.5
HIGHCVSS 3.1
EPSS 17.36%
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.
Affected products
No data.
Configuration 2
- 16.04
- 18.04
- 18.10
No data.
Red Hat Enterprise Linux 8
lua-0:5.3.4-11.el8
Fixed · RHSA-2019:3706
Red Hat Enterprise Linux 8
lua-0:5.3.4-11.el8
Fixed · RHSA-2019:3706
Red Hat Ceph Storage 3
ceph
Will not fix
Red Hat Enterprise Linux 6
lua
Not affected
Red Hat Enterprise Linux 7
lua
Not affected
Red Hat JBoss Web Server 5
lua
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | lua-0:5.3.4-11.el8 | Fixed | RHSA-2019:3706 |
| Red Hat Enterprise Linux 8 | lua-0:5.3.4-11.el8 | Fixed | RHSA-2019:3706 |
| Red Hat Ceph Storage 3 | ceph | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | lua | Not affected | n/a |
| Red Hat Enterprise Linux 7 | lua | Not affected | n/a |
| Red Hat JBoss Web Server 5 | lua | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2021-2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (27 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 17.36% (0.17359) | 97.04th | v5 (v2026.06.15) |
| Jun 15, 2026 | 17.22% (0.17224) | 96.70th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.90% (0.00904) | 75.00th | v4 (v2025.03.14) |
| Nov 18, 2025 | 24.36% (0.24359) | 95.74th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.25% (0.01247) | 77.46th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.48% (0.04477) | 81.45th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.25% (0.01247) | 77.94th | v4 (v2025.03.14) |
| Dec 17, 2024 | 1.81% (0.01806) | 87.83th | v3 (v2023.03.01) |
| Jun 15, 2024 | 2.97% (0.02975) | 90.93th | v3 (v2023.03.01) |
| Mar 11, 2024 | 3.32% (0.03323) | 91.07th | v3 (v2023.03.01) |
| Feb 21, 2024 | 3.85% (0.03848) | 91.63th | v3 (v2023.03.01) |
| Feb 4, 2024 | 4.69% (0.04688) | 91.84th | v3 (v2023.03.01) |
| Jan 17, 2024 | 4.77% (0.04766) | 91.88th | v3 (v2023.03.01) |
| Jan 2, 2024 | 4.75% (0.04749) | 91.84th | v3 (v2023.03.01) |
| Dec 15, 2023 | 5.36% (0.05360) | 92.33th | v3 (v2023.03.01) |
| Jul 6, 2023 | 5.04% (0.05035) | 91.74th | v3 (v2023.03.01) |
| Jun 23, 2023 | 3.76% (0.03756) | 90.52th | v3 (v2023.03.01) |
| May 19, 2023 | 3.69% (0.03685) | 90.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.82% (0.03815) | 90.47th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.94% (0.08944) | 94.01th | v2 (v2022.01.01) |
| Oct 19, 2022 | 8.94% (0.08944) | 93.82th | v2 (v2022.01.01) |
| Apr 1, 2022 | 8.38% (0.08382) | 93.35th | v2 (v2022.01.01) |
| Feb 4, 2022 | 17.48% (0.17479) | 93.21th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.50% (0.04504) | 76.47th | v1 |
| Jan 6, 2022 | 4.50% (0.04504) | 76.26th | v1 |
| Sep 1, 2021 | 4.50% (0.04504) | 84.13th | v1 |
| Apr 14, 2021 | 4.50% (0.04504) | 0.00th | v1 |
References (10)
- http://lua-users.org/lists/lua-l/2019-01/msg00039.html Broken Link
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html ExploitThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2019-6706 Vendor Advisory
- https://access.redhat.com/security/cve/cve-2019-6706 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1670019 Issue Tracking
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf ExploitThird Party Advisory
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2019-6706
- https://www.cve.org/CVERecord?id=CVE-2019-6706
| Link | Providers | Tags |
|---|---|---|
| http://lua-users.org/lists/lua-l/2019-01/msg00039.html | Broken Link | |
| http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html | ExploitThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2019-6706 | Vendor Advisory | |
| https://access.redhat.com/security/cve/cve-2019-6706 | Third Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1670019 | Issue Tracking | |
| https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf | ExploitThird Party Advisory | |
| https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e | PatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html | mailing-list | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-6706 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-6706 |
Change history (0)
No recorded changes yet.