CVE-2020-15889

Source
https://cve.org/CVERecord?id=CVE-2020-15889
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15889.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-15889
Aliases
Downstream
Published
2020-07-21T22:15:12.150Z
Modified
2026-07-08T20:30:32.168540Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list members.

References

Affected packages

Git / github.com/lua/lua

Affected ranges

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

Affected versions

5.*
5.4.0
v5.*
v5.4.0

Database specific

vanir_signatures_modified
"2026-07-08T20:30:32Z"
vanir_signatures
[
    {
        "target": {
            "file": "lgc.c"
        },
        "id": "CVE-2020-15889-ce83878b",
        "digest": {
            "line_hashes": [
                "33806952625595217983272738707404348225",
                "54845178931446360748967184937984859969",
                "12660585324071077448513951454168378358",
                "178375425586030612822274894787116549398",
                "69646801792118292822006701814980344525",
                "198212268633878255442099821443487555623",
                "281006230464054444442865744331568088035"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312"
    },
    {
        "target": {
            "function": "youngcollection",
            "file": "lgc.c"
        },
        "id": "CVE-2020-15889-de75bad6",
        "digest": {
            "function_hash": "176391760155847415929674594339149499199",
            "length": 823.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15889.json"