Out-of-Bounds Write Vulnerability in BeamNG.drive by BeamNG
CVE-2026-133528

9.3CRITICAL

Key Information:

Vendor
CVE Published:
20 November 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-133528?

BeamNG.drive before version 0.40.6 is susceptible to an out-of-bounds write vulnerability due to the omission of FFI array bounds checks in JIT-compiled LuaJIT traces. This flaw allows untrusted Lua scripts to escape their sandbox environment. An attacker can exploit this vulnerability by supplying a malicious mod that JIT-compiles an FFI store loop, resulting in the ability to write beyond allocated memory. The exploitation involves using a 'tostring()' address leak to perform out-of-range writes, re-enabling ffi.load, and executing commands with the game's user privileges.

Affected Version(s)

BeamNG.drive 0 < 0.40.6

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

drbloop
.