Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-133528
VULNERABILITY

CVE-2026-133528

Common Vulnerabilities and Exposures record

CRITICAL

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.

Risk

CVSS
9.3
Severity
CRITICAL
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Nov 20, 2026 01:17
Modified
Nov 25, 2026 04:17
Last observed
Nov 25, 2026 00:00

CWE

CWE-787

References