{"id":"CVE-2026-133528","aliases":["EUVD-2026-130810"],"title":"BeamNG.drive before 0.40.6 LuaJIT FFI Sandbox Escape via JIT Bounds-Check Bypass","originalDescription":"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.","severity":{"cvss":9.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.00201,"percentile":0.10513},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"BeamNG.drive","range":">=0, <0.40.6","fixed":"0.40.6"}],"references":[{"url":"https://store.steampowered.com/news/app/284160/view/681890829846973542","type":"vendor-advisory"},{"url":"https://github.com/drbloop2000/BeamNG-Drive-RCE","type":"exploit"},{"url":"https://www.vulncheck.com/advisories/beamng-drive-before-0.40.6-luajit-ffi-sandbox-escape-via-jit-bounds-check-bypass","type":"third-party-advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133528","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-25T04:21:08.537Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133528","license":"NVD terms of use","firstSeenAt":"2026-11-20T01:34:25.768Z"},{"name":"euvd","at":"2026-11-25T06:00:25.943Z","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130810","license":"ENISA","firstSeenAt":"2026-11-20T02:06:33.729Z"},{"name":"cvelistV5","at":"2026-11-30T16:03:58.595Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133528","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T00:59:02.985Z"}],"firstSeenAt":"2026-11-20T00:59:02.985Z","publishedAt":"2026-11-20T00:42:15.000Z","modifiedAt":"2026-11-25T04:17:25.537Z"}