CVE-2020-15945

lua: segmentation fault in changedline in ldebug.c

Published Jul 24, 2020 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-7916 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.
History
Type Values Removed Values Added
Description Lua through 5.4.0 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. 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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Feb 19, 2025, 2:35 PM
Reserved
Jul 24, 2020, 12:00 AM
Status
Modified
Published
Jul 24, 2020, 9:15 PM
Modified
Jun 17, 2026, 2:57 AM
Severity
Moderate
Public date
Jul 9, 2020, 12:00 AM