Buffer overflow in Diasurgical Devilutionx
CVE-2026-116842
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H.
EPSS exploit prediction
EPSS: 0.001 (2.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 3rd percentile — 2.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
Weakness classification (CWE)
References
- github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d3b22c52… (technical-description)
- github.com/diasurgical/DevilutionX/issues/8758 (issue-tracking)
- github.com/diasurgical/DevilutionX/pull/8482 (issue-tracking, patch)
- github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841b05/lib… (technical-description)
- hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob (technical-description)
- www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-heap-buffer-overfl… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-116842?
- CVE-2026-116842 is a medium-severity vulnerability in Diasurgical Devilutionx, classified under Out-of-bounds Write. CVSS score: 6.1/10. Published 2026-10-27.
- How severe is CVE-2026-116842?
- Medium severity. CVSS v3 base score is 6.1 out of 10.