CVE-2020-15945

CVE-2020-15945 is a medium-severity vulnerability in Lua with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is CVE-2020-15945?
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.
How severe is CVE-2020-15945?
CVE-2020-15945 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2020-15945 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (41st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2020-15945?
CVE-2020-15945 affects Lua. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2020-15945?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2020-15945 published?
CVE-2020-15945 was published on 2020-07-24 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Lua

All CVEs affecting Lua →