# CVE-2020-24369: ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.68%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-08-17T16:06:42.000Z
- Modified: 2026-09-08T08:48:09.270Z
- Also known as: BIT-LUA-2020-24369
- Weaknesses: CWE-476
- Assigned by: mitre

## Description

ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lua lua: 5.4.0
- lua (Bitnami): from 5.4.0 before 5.4.1

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.lua.org/bugs.html#5.4.0-12> (exploit, advisory, vendor-advisory)
- <https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-24369> (web)

## Sources

- CVE List: [CVE-2020-24369](https://www.cve.org/CVERecord?id=CVE-2020-24369), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-24369](https://nvd.nist.gov/vuln/detail/CVE-2020-24369), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LUA-2020-24369](https://osv.dev/vulnerability/BIT-LUA-2020-24369), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-24369 · Whole record: https://cve.day/CVE-2020-24369.json · Rebuilt by cve.day 2026-11-25T22:57:54.203Z
