DevilutionX 1.4.0 through 1.5.5 contains an out-of-bounds read vulnerability in the bundled libmpq
Source GCVE Database
Not known to be exploited · CVSS 6.8 Medium.
Data as of 27 Oct 2026, 04:17 UTC
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| diasurgicalDevilutionX | Affected
| Fixed in– |
GitHubDevilutionXpkg:github/DevilutionXOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid placing untrusted or crafted .mpq archives or mods in the game's data path to prevent triggering the out-of-bounds read and potential crashes. Monitor official DevilutionX channels for updates or patches addressing this issue.
Description
DevilutionX versions 1.4.0 through 1.5.5 contain an out-of-bounds read vulnerability in the bundled libmpq library. This flaw occurs in the libmpq__file_number_from_hash function, allowing attackers to read heap memory by supplying unchecked block_table_index values. Exploitation requires placing a crafted .mpq archive, such as a mod, in the game's data path, which can cause the game to read beyond intended memory bounds and crash.
References
- nvd.nist.gov/vuln/detail/CVE-2026-116841 (opens in a new tab)
- github.com/diasurgical/DevilutionX/issues/8758 (opens in a new tab)
- github.com/diasurgical/DevilutionX/pull/8482 (opens in a new tab)
- github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d3b22c52f/3rdParty/libmpq/CMakeLists.txt (opens in a new tab)
- github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841b05/libmpq/mpq.c (opens in a new tab)
- hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob (opens in a new tab)
- vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-out-of-bounds-read-via-libmpq-hash-table-lookup (opens in a new tab)