Skip to content
Noroxi
CVE-2019-6706· NVD / CVE Program· CNA mitre

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

Noroxi assessment

Priority: Monitor (action score 35/100)

  • Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 17.3% (FIRST EPSS); higher than 97.1% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: lua (AlmaLinux:8) 5.3.4-11.el8; lua-devel (AlmaLinux:8) 5.3.4-11.el8; lua5.3 (Alpine:v3.10) 5.3.5-r2.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to lua (AlmaLinux:8) 5.3.4-11.el8; lua-devel (AlmaLinux:8) 5.3.4-11.el8; lua5.3 (Alpine:v3.10) 5.3.5-r2 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—Proof of concept Fix available
Published
Jan 23, 2019
Updated
Jun 16, 2026
EPSS
17.3% · 97th percentile

Report tools

JSON

Action score

35

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
5 / 30 · 17.3%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2019-6706

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
lualua
canonicalubuntu linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux18.10
  • lua lua5.3.5

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8luabefore 5.3.4-11.el85.3.4-11.el8
AlmaLinux:8lua-develbefore 5.3.4-11.el85.3.4-11.el8
Alpine:v3.10lua5.3before 5.3.5-r25.3.5-r2
Alpine:v3.14lua5.4before 5.3.5-r25.3.5-r2
Alpine:v3.7lua5.3before 5.3.5-r05.3.5-r0
Debian:10lua5.3before 5.3.3-1.1+deb10u15.3.3-1.1+deb10u1
Debian:12lua5.3before 5.3.6-15.3.6-1
openSUSE:Leap 15.0lua53before 5.3.4-lp150.2.3.15.3.4-lp150.2.3.1
Red Hat:enterprise_linux:8::appstreamluabefore 0:5.3.4-11.el80:5.3.4-11.el8
Red Hat:enterprise_linux:8::appstreamlua-debuginfobefore 0:5.3.4-11.el80:5.3.4-11.el8
Red Hat:enterprise_linux:8::appstreamlua-debugsourcebefore 0:5.3.4-11.el80:5.3.4-11.el8
Red Hat:enterprise_linux:8::appstreamlua-libs-debuginfobefore 0:5.3.4-11.el80:5.3.4-11.el8
Red Hat:enterprise_linux:8::baseoslua-libsbefore 0:5.3.4-11.el80:5.3.4-11.el8
Red Hat:enterprise_linux:8::crblua-develbefore 0:5.3.4-11.el80:5.3.4-11.el8
Rocky Linux:8luabefore 0:5.3.4-11.el80:5.3.4-11.el8
SUSE:Linux Enterprise Module for Basesystem 15lua53before 5.3.4-3.3.25.3.4-3.3.2

Same product

lua: all records

Other highest-scoring records for the same primary product.

  • CVE-2020-15889Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list memb
    40Plan
  • CVE-2022-28805singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based
    37Monitor
  • CVE-2020-15888Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-bas
    36Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2014-5461Sep 4, 2014 · Buffer overflow in the vararg functions in ldo.c in Lua 5.1 through 5.2.x before 5.2.3 allows context-dependent attackers to cause a denial
    24Monitor
  • Later →CVE-2020-15945Jul 24, 2020 · Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly
    22Monitor
  • Later →CVE-2020-24342Aug 13, 2020 · Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:lua5.3.4-11.el8 · AlmaLinux:8Package registry (OSV)
almalinux:lua-devel5.3.4-11.el8 · AlmaLinux:8Package registry (OSV)
alpine:lua5.35.3.5-r2 · Alpine:v3.10Package registry (OSV)
alpine:lua5.45.3.5-r2 · Alpine:v3.14Package registry (OSV)
debian:lua5.35.3.6-1 · Debian:12Package registry (OSV)
opensuse:lua535.3.4-lp150.2.3.1 · openSUSE:Leap 15.0Package registry (OSV)
red hat:lua0:5.3.4-11.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:lua-debuginfo0:5.3.4-11.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:lua-debugsource0:5.3.4-11.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:lua-devel0:5.3.4-11.el8 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
red hat:lua-libs0:5.3.4-11.el8 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:lua-libs-debuginfo0:5.3.4-11.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:lua0:5.3.4-11.el8 · Rocky Linux:8Package registry (OSV)
suse:lua535.3.4-3.3.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2019-01-25

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+1 d
  3. TodayOct 23, 2026+2830 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records