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.
Metrics
Affected Vendors & Products
References
History
Fri, 20 Nov 2026 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Beamng Gmbh
Beamng Gmbh beamng.drive |
|
| Vendors & Products |
Beamng Gmbh
Beamng Gmbh beamng.drive |
Fri, 20 Nov 2026 01:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | BeamNG.drive before 0.40.6 LuaJIT FFI Sandbox Escape via JIT Bounds-Check Bypass | |
| Weaknesses | CWE-787 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-11-20T00:42:15.527Z
Updated: 2026-11-20T00:42:15.527Z
Reserved: 2026-11-20T00:39:53.933Z
Link: CVE-2026-133528
No data.
Status : Received
Published: 2026-11-20T01:17:10.633
Modified: 2026-11-20T01:17:10.633
Link: CVE-2026-133528
No data.