CVE-2025-54065

GZDoom engine allows arbitrary code execution via ZScript actor states

State
Published
Severity
7.8 High
Published
Dec 3, 2025
Updated
Dec 3, 2025
Reserved
Jul 16, 2025

Read the record on cve.org

Description

GZDoom is a feature centric port for all Doom engine games. GZDoom is an open source Doom engine. In versions 4.14.2 and earlier, ZScript actor state handling allows scripts to read arbitrary addresses, write constants into the JIT-compiled code section, and redirect control flow through crafted FState and VMFunction structures. A script can copy FState structures into a writable buffer, modify function pointers and state transitions, and cause execution of attacker-controlled bytecode, leading to arbitrary code execution.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-913 Improper Control of Dynamically-Managed Code Resources

Affected Products

ProductVersions
gzdoomZDoom
  • <= 4.14.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.