{"id":"UBUNTU-CVE-2022-28805","details":"singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.","modified":"2026-04-22T15:29:49.585794Z","published":"2022-04-08T06:15:00Z","related":["USN-6916-1"],"upstream":["CVE-2022-28805"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-28805"},{"type":"REPORT","url":"https://lua-users.org/lists/lua-l/2022-02/msg00001.html"},{"type":"REPORT","url":"https://lua-users.org/lists/lua-l/2022-02/msg00070.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-28805"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6916-1"}],"affected":[{"package":{"name":"lua5.4","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/lua5.4@5.4.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.4-1ubuntu0.1~esm1"}]}],"versions":["5.4.2-2","5.4.3-1","5.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblua5.4-0","binary_version":"5.4.4-1ubuntu0.1~esm1"},{"binary_name":"lua5.4","binary_version":"5.4.4-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28805.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}