
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-24809 is a heap-buffer overflow vulnerability in praydog/REFramework, a modding framework for games built on RE Engine. The flaw originates in the luaG_runerror function within dependencies/lua/src/ldebug.c, where a recursive error condition triggers an out-of-bounds write. It affects REFramework versions before 1.5.5 and was published on January 27, 2026. The vulnerability carries a CVSS v4.0 base score of 6.9 (Medium), assigned by GovTech CSG (Feedly, GitHub PR).
The root cause is an out-of-bounds write (CWE-787) in the Lua runtime's error-handling path. REFramework bundles a copy of the Lua interpreter that did not receive the upstream security patch (lua/lua commit 42d4058) addressing stack exhaustion during recursive error handling in luaG_runerror(). When a recursive error occurs, the function can overflow a heap buffer due to insufficient stack space management. The fix was originally tracked upstream as CVE-2022-33099 in the Lua project and was ported to REFramework via pull request #1320, merged April 21, 2025 (GitHub PR).
Successful exploitation can cause a denial-of-service condition by crashing the host application (high availability impact to the vulnerable component). Because the attack vector is local and the vulnerability resides in a game modding framework, the primary risk is application instability or crash when a malicious or malformed Lua script triggers recursive error handling. Confidentiality and integrity impacts are assessed as none at the vulnerable component level, though a low subsidiary availability impact is noted (Feedly).
luaG_runerror to be called recursively.luaG_runerror to overflow the heap buffer..lua script files in the REFramework scripts directory that contain recursive error-handling patterns.ldebug.c, luaG_runerror, or stack overflow/heap corruption errors.Users should upgrade REFramework to version 1.5.5 or later, which incorporates the fix from pull request #1320 (merged April 21, 2025). The patch applies the same stack-space-saving change from upstream Lua commit 42d4058 that resolved CVE-2022-33099. As a workaround, avoid loading untrusted or unknown Lua scripts in REFramework until the update is applied (GitHub PR).
The vulnerability was reported by contributor npt-1707, who identified that REFramework's bundled Lua copy had not received the upstream CVE-2022-33099 patch and submitted a fix via GitHub pull request. Project owner praydog confirmed the issue and merged the fix, noting that the Lua version itself would not be upgraded to avoid forcing plugin authors to update their own Lua versions. Community reaction has been minimal given the niche scope of the affected software (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."