GHSA-7wxf-w2p5-7pvrCriticalCVSS 8.6
BeamNG.drive before 0.40.6 contains an out-of-bounds write vulnerability because JIT-compiled...
🔗 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)
- https://nvd.nist.gov/vuln/detail/CVE-2026-133528
- https://github.com/drbloop2000/BeamNG-Drive-RCE
- https://store.steampowered.com/news/app/284160/view/681890829846973542
- https://www.vulncheck.com/advisories/beamng-drive-before-0.40.6-luajit-ffi-sandbox-escape-via-jit-bounds-check-bypass
- https://github.com/advisories/GHSA-7wxf-w2p5-7pvr