CVE-2026-116841

DevilutionX 1.4.0 through 1.5.5 Out-of-Bounds Read via libmpq Hash Table Lookup

Published Oct 27, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
DevilutionX 1.4.0 through 1.5.5 contains an out-of-bounds read vulnerability in the bundled libmpq libmpq__file_number_from_hash function that allows attackers to read heap memory via unchecked block_table_index values. Attackers can place a crafted .mpq archive in the game's data path, such as a mod, to trigger reads past mpq_map and crash the game.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official vendor patch that addresses the out‑of‑bounds read (CWE‑125).
  • If upgrade is not immediately possible, remove or quarantine any custom or third‑party .mpq archives from the game’s data path to prevent the vulnerable lookup (CWE‑125 via input validation).
  • Run the game in a sandboxed or read‑only environment to limit heap read exposure (CWE‑125 via access control).

Generated by OpenCVE AI on October 27, 2026 at 08:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Diasurgical
Diasurgical devilutionx
Vendors & Products Diasurgical
Diasurgical devilutionx
Type Values Removed Values Added
Description DevilutionX 1.4.0 through 1.5.5 contains an out-of-bounds read vulnerability in the bundled libmpq libmpq__file_number_from_hash function that allows attackers to read heap memory via unchecked block_table_index values. Attackers can place a crafted .mpq archive in the game's data path, such as a mod, to trigger reads past mpq_map and crash the game.
Title DevilutionX 1.4.0 through 1.5.5 Out-of-Bounds Read via libmpq Hash Table Lookup
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 5:24 PM
Reserved
Oct 27, 2026, 12:10 AM
Status
Deferred
Published
Oct 27, 2026, 1:19 AM
Modified
Nov 5, 2026, 6:17 PM