# CVE-2025-54065: GZDoom engine allows arbitrary code execution via ZScript actor states

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-12-03T17:02:56.603Z
- Modified: 2026-10-18T17:10:00.110Z
- Weaknesses: CWE-913
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ZDoom gzdoom: <= 4.14.2

## References

- <https://github.com/ZDoom/gzdoom/security/advisories/GHSA-prhc-chfw-32jg>

## Sources

- CVE List: [CVE-2025-54065](https://www.cve.org/CVERecord?id=CVE-2025-54065), CVE Terms of Use, modified 2025-12-03
- NVD: [CVE-2025-54065](https://nvd.nist.gov/vuln/detail/CVE-2025-54065), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-54065 · Whole record: https://cve.day/CVE-2025-54065.json · Rebuilt by cve.day 2026-11-25T22:59:08.232Z
