CVE-2020-15945 json
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…
published 6y ago modified 2mo ago also BIT-lua-2020-15945 , EUVD-2020-7916 , JLSEC-2026-554
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami lua 5.4.0
- julia Lua_jll 5.4.3+0
- lua lua 5.4.0
- lua5.4 Debian 14, Debian 13, Debian 12 5.4.1-1
debian advisories DEBIAN-CVE-2020-15945
- lua55 openSUSE Tumbleweed 5.5.0~beta1-1.1
opensuse advisories openSUSE-SU-2025:15401-1
- lua Azure Linux 3.0 5.4.0-1
- lua CBL-Mariner 2.0 5.4.3-1
azure linux advisories AZL-40818AZL-6671
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/lua/lua@a219564 commit
Is CVE-2020-15945 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-2020-15945 updated cvss 5.5
lua: segmentation fault in changedline in ldebug.c
-
Red Hat Ceph Storage 3 ceph, librbd1, librgw2, ceph-mds, ceph-mgr, ceph-mon, +15 moreaffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 4 ceph, librbd1, librgw2, rbd-nbd, ceph-mds, ceph-mgr, +27 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 6 lua Red Hat Enterprise Linux 7 lua Red Hat Enterprise Linux 8 lua, lua-libs Red Hat Enterprise Linux 9 lua, lua-libsnot 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
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- lua-users.org http://lua-users.org/lists/lua-l/2020-07/msg00123.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | lua | >=5.3.1, <5.4.0 |
5.4.0 |
| julia | Lua_jll | <5.4.3+0 |
5.4.3+0 |
References
-
github.com
/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3
patch, third-party-advisory, advisory, web
-
lua-users.org
/lists/lua-l/2020-07/msg00123.html
exploit, mailing-list, third-party-advisory, advisory, web
-
lua.org
/bugs.html#5.4.0-8
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-15945
web
Sources
- CVE List CVE-2020-15945
- NVD CVE-2020-15945
- OSV BIT-lua-2020-15945
- OSV JLSEC-2026-554
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.