CVE-2022-33099

Source
https://cve.org/CVERecord?id=CVE-2022-33099
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-33099.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-33099
Aliases
Downstream
Related
Published
2022-07-01T11:26:38Z
Modified
2026-08-12T13:01:11.523011Z
Summary
[none]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/33xxx/CVE-2022-33099.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/lua/lua

Affected ranges

Type
GIT
Repo
https://github.com/lua/lua
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "5.4.2"
        },
        {
            "last_affected": "5.4.4"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v5.*
v5.4.2
v5.4.3
v5.4.4

Database specific

vanir_signatures_modified
"2026-08-12T13:01:11Z"
vanir_signatures
[
    {
        "id": "CVE-2022-33099-130d0ed2",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "47064890593937786897531178058191810844",
                "332134119330750700401512169069853671896",
                "265513752968495196327410634712261241495",
                "4686135018978641772480404961188955158",
                "191357327930270353914184361696403200245"
            ]
        },
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "target": {
            "file": "ldebug.c"
        }
    },
    {
        "id": "CVE-2022-33099-422ac859",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "238664278947635791321220985534781971204",
                "110587412781719742331913145596387590167",
                "122377330859284596425482454709373106670",
                "41978752855376686284244150713173810101",
                "244764617910085233208160284415443226461",
                "237849260543562680110344945870625485769",
                "37562800747512701822999390229154263700",
                "219524848240838254345629611037116750206",
                "108725855737991599988774000492808822080"
            ]
        },
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "target": {
            "file": "lvm.c"
        }
    },
    {
        "id": "CVE-2022-33099-a6a7014b",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 1148.0,
            "function_hash": "144187715496695041250959146983441313261"
        },
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "target": {
            "function": "luaV_concat",
            "file": "lvm.c"
        }
    },
    {
        "id": "CVE-2022-33099-e7e66be7",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 358.0,
            "function_hash": "281541209982265951639218471101078983413"
        },
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "target": {
            "function": "luaG_runerror",
            "file": "ldebug.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-33099.json"