Technical impact
The vulnerability presents a type confusion bug within the loadstring function of the Lua sandbox in Sid Meier’s Civilization VI. When supplied with crafted data, loadstring may interpret the input as an incorrect type, potentially leading to unintended Lua code execution or other abnormal behavior inside the game. Although the description does not explicitly claim arbitrary code execution, type confusion in this context is commonly associated with the ability to run malicious scripts; this is inferred from the nature of the bug. The description also indicates the attack can be initiated remotely and that exploit code has been publicly released, implying remote exploitation via a crafted file or network packet. This flaw is classified as CWE‑843.
Affected Systems
The vulnerability affects version 1.0.12.68 of 2 K Games Sid Meier’s Civilization VI. No other versions are listed as impacted, but the issue resides in the core Lua sandbox component and thus may exist in other builds that share the same code base.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity of exploitation. The EPSS score of 0.00392 is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited evidence of widespread exploitation. However, the exploit code has been publicly released, implying that an attacker can construct a payload that triggers the type confusion remotely. The attack vector is inferred to be remote – an attacker could send a malicious file, mod script, or network packet that forces loadstring to misinterpret data. If successful, the attacker may obtain code execution privileges within the game’s sandbox.