# JLSEC-2026-555: ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).

- Severity: Medium 5.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-26T19:45:06.761Z
- Modified: 2026-07-18T00:02:10.862Z
- Related: CVE-2020-24370

## Description

ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).

(As written by Julia Security Advisories.)

## Affected

- Lua_jll (Julia): before 5.3.6+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <http://lua-users.org/lists/lua-l/2020-07/msg00324.html> (web)
- <https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b> (web)
- <https://lists.debian.org/debian-lts-announce/2020/09/msg00019.html> (web)
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-555](https://osv.dev/vulnerability/JLSEC-2026-555), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-555 · Whole record: https://cve.day/JLSEC-2026-555.json · Rebuilt by cve.day 2026-11-25T22:56:26.157Z
