← VULNERABILITIES

CVE-2026-133528

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

Critical · 9.3Fix available
CVSS
9.3
EPSS
0.20% (p11)
Published
2026-11-20
Age
14d old
Modified
2026-11-25
Product
BeamNG GmbH BeamNG.drive
Aliases
EUVD-2026-130810

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

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.

Fixed in

0.40.6

Affected packages

EcosystemPackageRangeFixed
vendorBeamNG.drive>=0, <0.40.60.40.6

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • ENISA EUVD · first seen 14d ago · ENISA
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON