{"id":"CVE-2025-54065","aliases":["CVE-2025-54065"],"related":[],"kind":"vulnerability","state":"published","title":"GZDoom engine allows arbitrary code execution via ZScript actor states","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"GZDoom es un puerto centrado en características para todos los juegos con motor Doom. GZDoom es un motor Doom de código abierto. En las versiones 4.14.2 y anteriores, el manejo del estado de los actores de ZScript permite a los scripts leer direcciones arbitrarias, escribir constantes en la sección de código compilado JIT y redirigir el flujo de control a través de estructuras FState y VMFunction manipuladas. Un script puede copiar estructuras FState en un búfer escribible, modificar punteros de función y transiciones de estado, y provocar la ejecución de bytecode controlado por el atacante, lo que lleva a la ejecución de código arbitrario.","source":"nvd"}],"published":"2025-12-03T17:02:56.603Z","modified":"2026-10-18T17:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.8,"rating":"HIGH"}],"cwes":["CWE-913"],"affected":[{"ranges":[{"version":"<= 4.14.2","status":"affected"}],"vendor":"ZDoom","product":"gzdoom","source":"cvelist"}],"references":[{"url":"https://github.com/ZDoom/gzdoom/security/advisories/GHSA-prhc-chfw-32jg","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-03T21:39:32.116Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54065","url":"https://www.cve.org/CVERecord?id=CVE-2025-54065","licence":"CVE Terms of Use","modified":"2025-12-03T21:39:49.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54065","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54065","licence":"Public domain","modified":"2026-10-18T17:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:08.232Z","epss":{"score":0.00147,"percentile":0.04129,"date":"2026-12-01T12:00:22.000Z"}}