CVE-2025-54065: ZDoom gzdoom · Improper Control of Dynamically-Managed Code Resources
Affects ZDoom gzdoomSource CVE Database V5
Not known to be exploited · CVSS 7.8 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubzdoom/gzdoompkg:github/zdoom/gzdoomOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Restrict execution of untrusted or user-generated ZScript code within GZDoom environments, limiting script permissions and sandboxing script execution where possible. 2. Monitor and audit script activities for unusual behavior, such as attempts to manipulate FState or VMFunction structures or unexpected memory access patterns. 3. Educate users and developers about the risks of running unverified scripts and enforce strict code review policies for custom mods or scripts. 4. Isolate GZDoom instances in virtualized or containerized environments to limit the impact of potential exploitation on host systems. 5. Implement host-based intrusion detection systems (HIDS) that can detect anomalous JIT code modifications or control flow redirections. 6. Prepare for rapid deployment of official patches once released by the vendor; track vendor communications closely. 7. Limit local user privileges to the minimum necessary to reduce the risk of exploitation from low-privilege accounts. 8. Consider network segmentation to prevent lateral movement if a compromise occurs. 9. Regularly update all related software components and dependencies to reduce the attack surface. 10. Engage with the GZDoom community and security forums to stay informed about emerging threats and mitigation techniques.
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.