cve.bz

CVE-2019-6706 Use After Free

7.5 highExploitEPSS 17%Fix available

High (7.5). EPSS 17% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
17% (unchanged from 17% a week ago; 17% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-6706 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-6706?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-6706?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-6706 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
lua:lua5.3.5
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10lua5.35.3.3-1.1+deb10u1DLA-3469-1
Debian12, 13, 14lua5.35.3.6-1DEBIAN-CVE-2019-6706
Ubuntu16.04:LTSlua5.35.3.1-1ubuntu2.1UBUNTU-CVE-2019-6706 USN-3941-1
Ubuntu18.04:LTSlua5.35.3.3-1ubuntu0.18.04.1UBUNTU-CVE-2019-6706 USN-3941-1
Red Hatenterprise_linux:8::appstreamlua, lua-debuginfo, lua-debugsource and 1 more0:5.3.4-11.el8RHSA-2019:3706
Red Hatenterprise_linux:8::baseoslua, lua-libs, lua-debuginfo and 2 more0:5.3.4-11.el8RHSA-2019:3706
Red Hatenterprise_linux:8::crblua, lua-devel, lua-debuginfo and 2 more0:5.3.4-11.el8RHSA-2019:3706
SUSELinux Enterprise Module for Basesystem 15lua535.3.4-3.3.2SUSE-SU-2019:0247-1
openSUSELeap 15.0lua535.3.4-lp150.2.3.1openSUSE-SU-2019:0175-1
AlmaLinux8lua, lua-devel5.3.4-11.el8ALSA-2019:3706
Rocky Linux8lua0:5.3.4-11.el8RLSA-2019:3706
Alpinev3.6, v3.8, v3.9 and 4 morelua5.35.3.5-r2ALPINE-CVE-2019-6706
Alpinev3.7lua5.35.3.5-r0ALPINE-CVE-2019-6706
Alpinev3.14, v3.15, v3.16 and 8 morelua5.3, lua5.45.3.5-r2ALPINE-CVE-2019-6706
Azure Linux2lua5.3.5-11AZL-6669

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8lua-0:5.3.4-11.el8Fixed 2019-11-05RHSA-2019:3706
Red Hat Ceph Storage 3cephWill not fix
Red Hat Enterprise Linux 6luaNot affected
Red Hat Enterprise Linux 7luaNot affected
Red Hat JBoss Web Server 5luaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-6706.

Public exploits

References

Check your stackJSON