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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lua5.4 | 5.4.1-1 | — |
| Debian 13 | lua5.4 | 5.4.1-1 | — |
| Debian 12 | lua5.4 | 5.4.1-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | lua55 | 5.5.0~beta1-1.1 | openSUSE-SU-2025:15401-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | lua | 5.4.0-1 | — |
| Azure Linux 2 (CBL-Mariner) | lua | 5.4.3-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | lua5.3 | No fix yet | — |
Advisories 2
- openSUSE-SU-2025:15401-1 liblua5_5-5-5.5.0~beta1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SCA-2025-0006 Vulnerability affecting picoScan and multiScan SICK PSIRT · Apr 28, 2025