# JLSEC-2026-561: An issue in the component luaGrunerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

- 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
- Published: 2026-05-26T19:45:06.761Z
- Modified: 2026-07-25T18:24:38.222Z
- Related: CVE-2022-33099

## Description

An issue in the component `luaG_runerror` of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

(As written by Julia Security Advisories.)

## Affected

- Lua_jll (Julia): from 5.4.3+0 before 5.4.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

- <https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/> (web)
- <https://lua-users.org/lists/lua-l/2022-05/msg00035.html> (web)
- <https://lua-users.org/lists/lua-l/2022-05/msg00042.html> (web)
- <https://lua-users.org/lists/lua-l/2022-05/msg00073.html> (web)
- <https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error> (web)

## Sources

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

---

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