Description
A security flaw has been discovered in 2K Games Sid Meier's Civilization IV 1.0.12.68. The affected element is the function loadstring of the component Lua sandbox. Performing a manipulation results in type confusion. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.
Published: 2026-10-26
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Now
AI Analysis

Impact

The flaw arises from a type confusion bug in the loadstring function of the Lua sandbox used by Sid Meier’s Civilization IV. If an attacker supplies specially crafted data, the function fails to correctly enforce its expected type, potentially allowing execution of arbitrary code within the game’s runtime environment. This weakness is classified as CWE‑843 and, because it involves remotely accessible sandbox functions, presents a window for an attacker to gain control of the game process. The impact is the ability to run malicious code, which could lead to disclosure of personal information, modification of game state, or broader compromise if the game process interacts with other system components.

Affected Systems

The vulnerability affects version 1.0.12.68 of 2 K Games Sid Meier’s Civilization IV. 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 metric is not 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.

Generated by OpenCVE AI on October 26, 2026 at 17:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to the latest release of Sid Meier’s Civilization IV that contains the patched Lua sandbox implementation
  • If an update is unavailable, disable the Lua sandbox feature or remove the loadstring function from the configuration to eliminate the attack surface
  • Configure the game to only load mods from trusted sources and monitor log files for failed loadstring attempts

Generated by OpenCVE AI on October 26, 2026 at 17:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared 2k Games civilization Iv
Vendors & Products 2k Games civilization Iv

Mon, 26 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description A security flaw has been discovered in 2K Games Sid Meier's Civilization IV 1.0.12.68. The affected element is the function loadstring of the component Lua sandbox. Performing a manipulation results in type confusion. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.
Title 2K Games Sid Meier's Civilization IV Lua sandbox loadstring type confusion
First Time appeared 2k Games
2k Games sid Meiers Civilization Iv
Weaknesses CWE-843
CPEs cpe:2.3:a:2k_games:sid_meiers_civilization_iv:*:*:*:*:*:*:*:*
Vendors & Products 2k Games
2k Games sid Meiers Civilization Iv
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

2k Games Civilization Iv Sid Meiers Civilization Iv
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-26T16:15:11.957Z

Reserved: 2026-10-26T08:08:44.693Z

Link: CVE-2026-116370

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-26T17:17:25.930

Modified: 2026-10-26T18:39:42.503

Link: CVE-2026-116370

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T18:49:28Z

Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')