Lua vulnerability
Published: Fri, 08 May 2026 09:09
Summary
Lua could be made to crash or run programs as your login if it opened a specially crafted file.
Details
It was discovered that the Lua parser incorrectly handled garbage collection when processing specially crafted Lua scripts. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu xenial
lua5.1→5.1.5-8ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 5.1.5-8ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y lua5.1
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblua5.1-0→5.1.5-8ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 5.1.5-8ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblua5.1-0
Most apt upgrades restart their service automatically. needrestart lists anything else.
liblua5.1-0-dev→5.1.5-8ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 5.1.5-8ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y liblua5.1-0-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
lua5.1→5.1.5-8ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 5.1.5-8ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y lua5.1
Most apt upgrades restart their service automatically. needrestart lists anything else.
lua5.1-doc→5.1.5-8ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 5.1.5-8ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y lua5.1-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8262-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8262-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.