Description
DevilutionX 1.4.0 through 1.5.5 contains a heap buffer overflow vulnerability in the bundled libmpq libmpq__archive_dup routine when opening crafted MPQ archives. Attackers can supply an MPQ archive whose block table count exceeds its hash table count, causing memcpy to overflow the heap during startup and crash the game.
References7
- github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4d…
- github.com/diasurgical/DevilutionX/issues/8758
- github.com/diasurgical/DevilutionX/pull/8482
- github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a…
- hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob
- www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-he…
- hackmd.io/@haindpwn/cve-2026-116841-116842-devilutionx-libmpq-h…
Metrics
- CVSS 3.1
-
6.1
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - CVSS 4.0
-
6.9
MEDIUM
Score source: CNA
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 3 · as of 8 November 2026
- CWE
- CWE-787
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.