GHSA-7wxf-w2p5-7pvrCriticalCVSS 8.6

BeamNG.drive before 0.40.6 contains an out-of-bounds write vulnerability because JIT-compiled...

Published
November 20, 2026
Last Modified
November 20, 2026

🔗 CVE IDs covered (1)

📋 Description

BeamNG.drive before 0.40.6 contains an out-of-bounds write vulnerability because JIT-compiled LuaJIT traces omit FFI array bounds checks, letting untrusted Lua escape the sandbox. Attackers supplying a malicious mod can JIT-compile an FFI store loop, write out of range using a tostring() address leak, re-enable ffi.load, and run commands as the game user.

🔗 References (5)