BeamNG.drive before 0.40.6 contains an out-of-bounds write vulnerability because JIT-compiled LuaJIT traces omit FFI…
8.6CVSS
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.
- Affected
- BeamNG.drive 0 to before 0.40.6
- Fixed in
- 0.40.6
- CISA KEV
- no
- First seen
- 2026-11-21
- Categories
- All
- Sources
- NVD