CVE-2022-33099
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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.84% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 86.5% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-07-01 11:26Z4 YR AGO
- Last updated
- 2024-08-03 08:01Z2 YR AGO
- Reserved
- 2022-06-13
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-787Out-of-bounds WriteBase
- Data version
- 5.1
- Document digest
- e4ac07c109df64bc6405c14664379a2fc9a9c27fd503405d44260de2f65ff688
05 Affected products
06 References
- github.comhttps://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf
- lua-users.orghttps://lua-users.org/lists/lua-l/2022-05/msg00035.html
- lua-users.orghttps://lua-users.org/lists/lua-l/2022-05/msg00042.html
- lua-users.orghttps://lua-users.org/lists/lua-l/2022-05/msg00073.html
- www.lua.orghttps://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error
- lists.fedoraproject.orgFEDORA-2022-b9ed35a7adhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
- lists.fedoraproject.orgFEDORA-2022-5b5889f43ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
07 Fixed in
AlmaLinux 9
- lua Fixed in 5.4.2-4.el9_0.3
- lua-devel Fixed in 5.4.2-4.el9_0.3
- lua-libs Fixed in 5.4.2-4.el9_0.3
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- lua Fixed in 5.4.2-4.el9_0.3
- lua-devel Fixed in 5.4.2-4.el9_0.3
- lua-libs Fixed in 5.4.2-4.el9_0.3
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- lua5.4 Fixed in 5.4.4-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- lua5.4 Fixed in 5.4.4-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- lua5.4 Fixed in 5.4.4-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- lua5.4 Fixed in 5.4.4-1ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.