# JLSEC-2026-558: Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.05.4.3 allows attackers to perform Sandbox Escape via a c…

- Severity: Medium 6.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H`
- 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.823Z
- Related: CVE-2021-44964

## Description

Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.

(As written by Julia Security Advisories.)

## Affected

- Lua_jll (Julia): from 5.4.3+0 before 5.4.4+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H`

## References

- <http://lua-users.org/lists/lua-l/2021-11/msg00186.html> (web)
- <http://lua-users.org/lists/lua-l/2021-12/msg00007.html> (web)
- <http://lua-users.org/lists/lua-l/2021-12/msg00015.html> (web)
- <http://lua-users.org/lists/lua-l/2021-12/msg00030.html> (web)
- <https://github.com/Lua-Project/lua-5.4.4-sandbox-escape-with-new-vulnerability> (web)

## Sources

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

---

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