# JLSEC-2026-553: Lua 5.3.5 has a use-after-free in luaupvaluejoin in lapi.c.

- Severity: High 7.5 (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:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-26T19:45:06.761Z
- Modified: 2026-07-25T18:24:37.826Z
- Related: CVE-2019-6706

## Description

Lua 5.3.5 has a use-after-free in `lua_upvaluejoin` in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships.

(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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html> (exploit, web)
- <http://lua-users.org/lists/lua-l/2019-01/msg00039.html> (web)
- <https://access.redhat.com/security/cve/cve-2019-6706> (web)
- <https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf> (web)
- <https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e> (web)
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html> (web)

## Sources

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

---

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