MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-133528

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

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.
  • PoC-in-GitHub Source: PoC-in-GitHub