CVE-2021-45985
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 SecurityCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:51:02.296Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:32.376Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:02.296Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:56:15.367Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:15.367Z | CVE 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 JSONUbuntu 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§ion=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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | lua5.4 | Not a distribution channel | 5.4.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T12:51:02.296ZArchived source JSON
Source publication: 2023-04-10T00:00:00.000Z
Source modification: 2025-07-11T07:48:51.755ZDocument fingerprint
bb560e1ebbf5d8c1ce0cfbf6b6be85d1dd121ca224ea14927d61582aca0044d7 - CVE ProgramConsulted: 2026-11-19T12:56:15.367ZArchived source JSON
Source publication: 2023-04-10T00:00:00.000Z
Source modification: 2025-02-12T16:02:20.735ZDocument fingerprint
a12d5f59f1c98786b931c810a2021d3c4c4efe139b6ea2b6e9667c568ed129b4 - FIRST EPSSConsulted: 2026-11-19T16:04:32.376ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
4d5217b2483c05232e728ff4c4aeff80a4cc51c89af7da0c5fa02c307b37b851
Official status history
- UNKNOWN → PUBLISHED · · evidence