freenode

← CVE tracker

CVE-2026-133528

BeamNG.drive before 0.40.6 LuaJIT FFI Sandbox Escape via JIT Bounds-Check Bypass

Severity
critical CVSS 9.3 (v4.0)
Affects
BeamNG.drive · BeamNG GmbH
Weakness
CWE-787: Out-of-bounds Write
Published
20 November 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.