CVE-2024-54756 Details
Description
A remote code execution (RCE) vulnerability in the ZScript function of ZDoom Team GZDoom v4.13.1 allows attackers to execute arbitrary code via supplying a crafted PK3 file containing a malicious ZScript source file.
A remote code execution vulnerability has been identified in GZDoom versions through 4.13.1. This issue arises from how ZScript, the game's primary scripting language, handles large arrays. An attacker can allocate an array of approximately 1 billion 32-bit integers, which allows access to uninitialized memory and the ability to overwrite other objects in memory. This vulnerability can be exploited by embedding malicious ZScript in a PK3 file, which is then executed by GZDoom.
Users are advised to update to GZDoom version 4.13.2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 20, 2025CISA-ADP
Assessed Feb 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Chainmanner/GZDoom-Arbitrary-Code-Execution-via-ZScript-PoC | CISA-ADP | ExploitTechnical Analysis |
| http://seclists.org/fulldisclosure/2025/Feb/11 | CVE | Mailing ListTechnical Description |
| https://github.com/Chainmanner/GZDoom-Arbitrary-Code-Execution-via-ZScript-PoC | [email protected] | ExploitTechnical Analysis |
| https://seclists.org/fulldisclosure/2025/Feb/11 | [email protected] | Mailing ListTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| ZDoom Team GZDoom | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 21, 2025 | CVE Modified | CISA-ADP |
| Feb 20, 2025 | New CVE Received | [email protected] |
| Feb 20, 2025 | CVE Modified | CVE |
Volerion