CVEMETERBack to radar
OFFICIAL RECORD · Lua

CVE-2021-45985

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

Lua · CVE-2021-45985

In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.418% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:51:02.296Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:51:02.296ZUbuntu Security
epssverified2026-11-19T16:04:32.376ZFIRST EPSS
patchesverified2026-11-19T12:51:02.296ZUbuntu Security
affectedverified2026-11-19T12:56:15.367ZCVE Program
lifecycleverified2026-11-19T12:56:15.367ZCVE Program

Affected versions and configuration

n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "n/a",
      "versions": [
        {
          "status": "affected",
          "version": "n/a"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://www.lua.org/bugs.html#5.4.3-11",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "http://lua-users.org/lists/lua-l/2021-12/msg00019.html",
          "tags": [
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-04T04:54:31.069Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.5,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "NONE"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2021-45985",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-02-12T16:01:31.275627Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-787",
              "description": "CWE-787 Out-of-bounds Write"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-02-12T16:02:20.735Z"
      }
    }
  ]
}
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "lua5.4",
    "debian": "https://tracker.debian.org/pkg/lua5.4",
    "source": "https://ubuntu.com/security/cve?package=lua5.4",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=lua5.4",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "bionic"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-1",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "kinetic"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "5.4.4",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "xenial"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "lunar"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "mantic"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "oracular"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "5.4.4-3",
        "release_codename": "resolute"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamlua5.4Not a distribution channel5.4.4Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history