{"id":"CVE-2026-133528","aliases":["CVE-2026-133528"],"related":[],"kind":"vulnerability","state":"published","title":"BeamNG.drive before 0.40.6 LuaJIT FFI Sandbox Escape via JIT Bounds-Check Bypass","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 leak, re-enable ffi.load, and run commands as the game user.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-20T00:42:15.527Z","modified":"2026-11-25T04:17:25.537Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"0.40.6","status":"affected"}],"vendor":"BeamNG GmbH","product":"BeamNG.drive","source":"cvelist"}],"references":[{"url":"https://store.steampowered.com/news/app/284160/view/681890829846973542","tags":["release-notes","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/drbloop2000/BeamNG-Drive-RCE","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/beamng-drive-before-0.40.6-luajit-ffi-sandbox-escape-via-jit-bounds-check-bypass","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["drbloop"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-25T03:45:39.639Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133528","url":"https://www.cve.org/CVERecord?id=CVE-2026-133528","licence":"CVE Terms of Use","modified":"2026-11-25T03:45:51.014Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133528","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133528","licence":"Public domain","modified":"2026-11-25T04:17:25.537Z"}],"updatedAt":"2026-11-25T23:17:26.047Z","epss":{"score":0.00201,"percentile":0.10541,"date":"2026-12-01T12:00:22.000Z"}}