You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
lua security
About this tag
The lua security tag covers vulnerabilities and patch guidance for the Lua scripting language, particularly heap-based buffer over-read flaws in the Lua parser (lparser.c). Discussions include CVE-2026-24821 affecting WickedEngine's Lua parsing code and CVE-2022-28805 affecting Lua 5.4.x, both of which can be triggered by untrusted Lua scripts. The tag provides practical patch guides for developers and system administrators who embed Lua in applications, games, or enterprise software. Topics focus on identifying affected versions, applying upstream fixes, and mitigating risks from malicious Lua input. Security updates, parser internals, and remediation steps are recurring themes.
A heap-based buffer over-read has been assigned CVE-2026-24821 after researchers identified a flaw in the Lua parsing code of turanszkij’s WickedEngine that can be triggered when the engine compiles untrusted Lua code; the flaw is rooted in lparser.C and affects WickedEngine releases through...
The Lua interpreter received a critical security fix in 2022 after researchers discovered that a missing internal call in lparser.c’s singlevar function allowed a heap-based buffer over-read when compiling certain crafted scripts—an issue tracked as CVE-2022-28805 that affects Lua releases 5.4.0...