lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase…
Priority LOW 28CWE-763Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.
Why it matters now
EPSS 0.01745 77th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
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 →
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2020-24371
- 2026-10-03 Alias added: GHSA-4m5p-2hm8-9fxm
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-24371 · CVE Program
- CVE-2020-24371 · NVD
- FIRST EPSS
- GHSA-4m5p-2hm8-9fxm · GitHub Advisory Database · CC BY 4.0
- CVE-2020-24371 · 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