CVE-2020-15945

MEDIUM EPSS 40.9%
Published Jul 24, 20205y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 24, 2020 5y ago
Last Modified Jun 17, 2026 2w ago

Description

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 expects that an oldpc value is always updated upon a return of the flow of control to a function.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
40.9% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Affected Products 1

VendorProductVersionRange
lualua*≥5.3.1  –  <5.4.0

References 3

  • lua-users.org http://lua-users.org/lists/lua-l/2020-07/msg00123.html
    ExploitMailing ListThird Party Advisory
  • github.com https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3
    PatchThird Party Advisory
  • lua.org https://www.lua.org/bugs.html#5.4.0-8

Remediation

  • github.com https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3
    PatchThird Party Advisory