Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d
- https://github.com/diasurgical/DevilutionX/issues/8758
- https://github.com/diasurgical/DevilutionX/pull/8482
- https://github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841
- https://hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob
- https://www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-heap-buffer
- https://hackmd.io/@haindpwn/cve-2026-116841-116842-devilutionx-libmpq-hash-block
FAQ
What is CVE-2026-116842?
CVE-2026-116842 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 w...
How severe is CVE-2026-116842?
CVE-2026-116842 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-116842?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.