CVE-2022-28805

Source
https://cve.org/CVERecord?id=CVE-2022-28805
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-28805.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-28805
Aliases
Downstream
Related
Published
2022-04-08T00:00:00Z
Modified
2026-05-19T12:03:09.410699141Z
Summary
[none]
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.

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

Affected packages

Git / github.com/lua/lua

Affected ranges

Type
GIT
Repo
https://github.com/lua/lua
Events
Database specific
{
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "5.4.0"
        },
        {
            "fixed": "5.4.5"
        }
    ],
    "cpe": "cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*"
}

Affected versions

v5.*
v5.4.0
v5.4.1
v5.4.2
v5.4.3
v5.4.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-28805.json"