Technical impact
DevilutionX versions 1.4.0 through 1.5.5 contain an out‑of‑bounds read flaw in the bundled libmpq library. The vulnerable function reads data beyond the bounds of the block table when supplied with an unchecked block_table_index value, allowing an attacker to read arbitrary heap memory. The read may expose sensitive in‑memory data or, if the read goes beyond the mpq_map structure, can trigger a crash of the game.
Affected Systems
The affected product is the open‑source DevilutionX emulator, maintained by diasurgical. Versions from 1.4.0 up to and including 1.5.5 are impacted. The vulnerability exists in the bundled libmpq component, which is used for reading .mpq archive files from the game's data path.
Risk and Exploitability
With a CVSS score of 6.8 the vulnerability is considered moderate. No EPSS data is available and it is not listed in CISA’s KEV database, indicating no publicly noted exploitation. The attack vector is likely local or requires a user‑oriented mechanism: an attacker can drop a crafted .mpq archive, for example a malicious mod, into the game’s data directory and trigger the read when the game loads the archive. Once triggered the read can leak memory contents or abort the process, causing a denial of service. Because the vector involves a local file and no network exposure, remote exploitation is unlikely unless remote code execution is achieved via a preceding vulnerability.