ZeroDay Brief
CVE-2026-133528

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.

CVSS
8.6High
Chance of exploitation (EPSS)
0.20%
Published
Nov 20, 2026
In the news
Not yet
More from this vendor

What to do

A serious memory corruption flaw in Beamng.drive that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 0.40.6

Affected versions
Beamng.drive
Before 0.40.6

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.

CWE-787

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-133528 published (CVSS 8.6) (Nov 19, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, Nov 20, 2026

  1. CVECVE-2026-133528 published (CVSS 8.6)CVE Program · 01:17 UTC

References 3

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”