Every CVE Search/ Get API key

CVE-2022-33099

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow...

7.5 HighFix available

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.84%Up 1.9 points since Jul 2, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
CVE-2022-33099
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
CVE-2022-33099
Updated
2026-11-02
EUVDEUVD-2022-36155 No score

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
EUVD-2022-36155
Updated
2026-11-03
GitHub AdvisoriesGHSA-39jx-jr53-979c 7.5

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow...

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
GHSA-39jx-jr53-979c
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVAZL-10045 7.5

CVE-2022-33099 affecting package lua for versions less than 5.4.3-4

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
AZL-10045
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-35032 7.5

CVE-2022-33099 affecting package nmap for versions less than 7.95-1

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
AZL-35032
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 14 moreShow less
OSVAZL-41192 7.5

CVE-2022-33099 affecting package ntopng for versions less than 5.2.1-4

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
AZL-41192
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-05
OSVBELL-CVE-2022-33099 7.5

CVE-2022-33099 does not affect BellSoft software

Record
BELL-CVE-2022-33099
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2022-33099 7.5

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
DEBIAN-CVE-2022-33099
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVJLSEC-2026-561 7.5

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
JLSEC-2026-561
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Updated
2026-11-02
OSVOESA-2022-1764 7.5

lua security update

Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

Security Fix(es):

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.(CVE-2022-33099)

Record
OESA-2022-1764
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:7329 6.5

Red Hat Security Advisory: lua security update

Record
RHSA-2022:7329
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2022:7329 6.5

Moderate: lua security update

The lua packages provide support for Lua, a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language.

Security Fix(es):

  • lua: heap buffer overflow in luaG_errormsg() in ldebug.c due to uncontrolled recursion in error handling (CVE-2022-33099)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2022:7329
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-33099 7.5

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
UBUNTU-CVE-2022-33099
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2022:7329 No score

Moderate: lua security update

The lua packages provide support for Lua, a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language.

Security Fix(es):

  • lua: heap buffer overflow in luaG_errormsg() in ldebug.c due to uncontrolled recursion in error handling (CVE-2022-33099)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2022:7329
Updated
2026-11-02
OSVBIT-lua-2022-33099 No score

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
BIT-lua-2022-33099
Updated
2026-11-02
OSV No score

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

Record
CVE-2022-33099
Updated
2026-11-02
OSVopenSUSE-SU-2024:12167-1 No score

liblua5_4-5-32bit-5.4.4-5.1 on GA media

These are all security issues fixed in the liblua5_4-5-32bit-5.4.4-5.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12167-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:15401-1 No score

liblua5_5-5-5.5.0~beta1-1.1 on GA media

These are all security issues fixed in the liblua5_5-5-5.5.0~beta1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15401-1
Updated
2026-11-02
OSVUSN-6916-1 No score

lua5.4 vulnerabilities

It was discovered that Lua did not properly generate code when "_ENV" is constant. An attacker could possibly use this issue to cause a denial of service or execute arbitrary unstrusted lua code. (CVE-2022-28805)

It was discovered that Lua did not properly handle C stack overflows during error handling. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-33099)

Record
USN-6916-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
lua
AlmaLinux:9
before 5.4.2-4.el9_0.3
5.4.2-4.el9_0.3
lua-devel
AlmaLinux:9
before 5.4.2-4.el9_0.3
5.4.2-4.el9_0.3
lua-libs
AlmaLinux:9
before 5.4.2-4.el9_0.3
5.4.2-4.el9_0.3
lua
Azure Linux:2
before 5.4.3-4
5.4.3-4
nmap
Azure Linux:3
before 7.95-1
7.95-1
ntopng
Azure Linux:3
before 5.2.1-4
5.2.1-4
lua
Bitnami
5.4.2 up to 5.4.5
5.4.5
lua5.4
Debian:12
before 5.4.4-3
5.4.4-3
lua5.4
Debian:13
before 5.4.4-3
5.4.4-3
lua5.4
Debian:14
before 5.4.4-3
5.4.4-3
Show 20 moreShow less
Affected packages
PackageAffectedFixed
Lua_jll
Julia
5.4.3+0 up to 5.4.6+0
5.4.6+0
lua
openEuler:22.03-LTS
before 5.4.3-7.oe2203
5.4.3-7.oe2203
lua
Red Hat:enterprise_linux:9::appstream
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-libs-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua
Red Hat:enterprise_linux:9::baseos
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-debugsource
Red Hat:enterprise_linux:9::baseos
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-libs
Red Hat:enterprise_linux:9::baseos
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-libs-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua
Red Hat:enterprise_linux:9::crb
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-debuginfo
Red Hat:enterprise_linux:9::crb
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-debugsource
Red Hat:enterprise_linux:9::crb
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-devel
Red Hat:enterprise_linux:9::crb
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua-libs-debuginfo
Red Hat:enterprise_linux:9::crb
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua
Rocky Linux:9
before 0:5.4.2-4.el9_0.3
0:5.4.2-4.el9_0.3
lua5.4
Ubuntu:Pro:22.04:LTS
before 5.4.4-1ubuntu0.1~esm1, plus listed versions
5.4.2-25.4.3-15.4.4-1
5.4.4-1ubuntu0.1~esm1
lua5.4
Ubuntu:Pro:22.04:LTS
From an advisory covering 2 CVEs
before 5.4.4-1ubuntu0.1~esm1, plus listed versions
5.4.2-25.4.3-15.4.4-1
5.4.4-1ubuntu0.1~esm1
lua55
openSUSE:Tumbleweed
From an advisory covering 9 CVEs
before 5.5.0~beta1-1.1
5.5.0~beta1-1.1

History

History
RecordedChangedSources
affected
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-33099 is a high vulnerability (CVSS 7.5) in Lua, published July 1, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.84%, the 86th percentile. Fixed in lua 5.4.2-4.el9_0.3.

References

Show 30 moreShow less
MoveEnter Open