Description
LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an out-of-bounds read in the stack-overflow handler in lj_state.c.
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 | luajit | 2.1.0+openresty20240314-1 | — |
| Debian 13 | luajit | 2.1.0+openresty20240314-1 | — |
| Debian 12 | luajit | 2.1.0~beta3+git20220320+dfsg-4.1+deb12u1 | — |
| Debian 11 | luajit | 2.1.0~beta3+dfsg-5.3+deb11u1 | DLA-4283-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | luajit | No fix yet | — |
| Ubuntu 26.04 LTS | luajit | No fix yet | — |
| Ubuntu 25.10 | luajit | No fix yet | — |
| Ubuntu 24.04 LTS | luajit | 2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1 | USN-8544-1 |
| Ubuntu 22.04 LTS | luajit | 2.1.0~beta3+dfsg-6ubuntu0.1 | USN-8544-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | luajit | 2.1.0~beta3+dfsg-5.1ubuntu0.20.04.1~esm1 | USN-8544-1 |
| Ubuntu Pro 18.04 LTS | luajit | 2.1.0~beta3+dfsg-5.1ubuntu0.18.04.1~esm1 | USN-8544-1 |
| Ubuntu Pro 16.04 LTS | luajit | 2.0.4+dfsg-1+deb9u1ubuntu0.1~esm1 | USN-8544-1 |
| Ubuntu Pro 14.04 LTS | luajit | 2.0.2+dfsg-1ubuntu0.1~esm1 | USN-8544-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | luajit | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | SUSE-SU-2025:03378-1 |
| SLES 15 SP6 | luajit | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | SUSE-SU-2025:03378-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | lua51-luajit | 2.1.0~beta2-150000.3.3.1 | SUSE-SU-2025:02886-1 |
| openSUSE Leap 15.6 | luajit | 2.1.0~beta3+git.1624618403.e9577376-150400.4.5.1 | SUSE-SU-2025:03378-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | luajit | 2.1_p20240815-r1 | — |
| Alpine v3.23 | luajit | 2.1_p20240815-r1 | — |
| Alpine v3.22 | luajit | 2.1_p20240815-r1 | — |
| Alpine v3.21 | luajit | 2.1_p20240815-r1 | — |
| Alpine v3.20 | luajit | 2.1_p20240815-r1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | luajit | 2.1_p20240815-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | ecs-service-connect-agent | v1.34.4.2-1.amzn2023 | ALAS2023-2025-1357 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | sysbench | 1.0.20-6 | — |
| Azure Linux 2 (CBL-Mariner) | luajit | 2.1.0-27 | — |
| Azure Linux 2 (CBL-Mariner) | sysbench | 1.0.20-3 | — |
Advisories 5
- USN-8544-1 luajit vulnerabilities Ubuntu Security Notices (USN) · Jul 15, 2026
- SUSE-SU-2025:03378-1 Security update for luajit SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4283-1 luajit - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:02886-1 Security update for lua51-luajit SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2025-1357 Important: ecs-service-connect-agent security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jan 7, 2026