Skip to content
OpenAdvisories
Unscored CVE-2020-15945 EUVD-2020-7916GHSA-4fp8-99qh-27p3

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 Jul 24, 2020 · Updated Feb 19, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lua5.4 5.4.1-1 —
Debian 13 lua5.4 5.4.1-1 —
Debian 12 lua5.4 5.4.1-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed lua55 5.5.0~beta1-1.1 openSUSE-SU-2025:15401-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 lua 5.4.0-1 —
Azure Linux 2 (CBL-Mariner) lua 5.4.3-1 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling lua5.3 No fix yet —

Advisories 2

References