Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g…
Priority LOW 26Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
EPSS 0.00545 45th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Will not fix Red Hat: no fix planned
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 4 | Affected | No fix planned: Out of support scope |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15945
- 2026-10-03 Alias added: GHSA-4fp8-99qh-27p3
References
More Lua vulnerabilities
- TI-2021-20978 In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read. CVSS 3.1HIGH 7.5
- TI-2019-04752 Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. CVSS 3.1HIGH 7.5
- TI-2020-12507 Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c… CVSS 3.1CRITICAL 9.8
- TI-2022-11427 singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a… CVSS 3.1CRITICAL 9.1
- TI-2020-12506 Lua through 5.4.0 mishandles the interaction between stack resizes and garbage… CVSS 3.1HIGH 8.8
- TI-2022-14562 An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer… CVSS 3.1HIGH 7.5
Sources
- CVE-2020-15945 · CVE Program
- CVE-2020-15945 · NVD
- FIRST EPSS
- GHSA-4fp8-99qh-27p3 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-15945 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences