{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "5.4.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c33b1728aeb7dfeec4013562660e07d32697aa6b"
            },
            {
              "fixed": "127e7a6c8942b362aa3c6627f44d660a4fb75312"
            }
          ],
          "repo": "https://github.com/lua/lua",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2020-15889",
  "modified": "2026-03-13T21:56:18.701333311Z",
  "published": "2020-07-21T22:15:12.150Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://lua-users.org/lists/lua-l/2020-12/msg00157.html"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312"
    },
    {
      "type": "EVIDENCE",
      "url": "http://lua-users.org/lists/lua-l/2020-07/msg00078.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}