{"id":"CVE-2026-116842","title":"DevilutionX 1.4.0 through 1.5.5 Heap Buffer Overflow via libmpq__archive_dup","summary":"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 ha…","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","cvssSource":"cna","cwe":["CWE-787"],"vendor":"diasurgical","product":"DevilutionX","affected":["DevilutionX >= 1.4.0 <= 1.5.5"],"published":"2026-10-27","updated":"2026-10-27","sourceUpdated":"2026-10-27T00:34:01.167Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116842","references":[{"url":"https://github.com/diasurgical/DevilutionX/issues/8758"},{"url":"https://github.com/diasurgical/DevilutionX/pull/8482"},{"url":"https://github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841b05/libmpq/mpq.c#L505"},{"url":"https://github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d3b22c52f/3rdParty/libmpq/CMakeLists.txt"},{"url":"https://hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob"},{"url":"https://www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-heap-buffer-overflow-via-libmpq-archive-dup","label":"VulnCheck Advisory: DevilutionX 1.4.0 through 1.5.5 Heap Buffer Overflow via libmpq__archive_dup"}],"tags":["cve.org"],"epss":0.00134,"epssPercentile":0.02876,"ingestedAt":"2026-10-27T16:11:59.182Z","slug":"CVE-2026-116842","body":"## Overview\n\nDevilutionX 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.\n\n## Affected\n\n- `DevilutionX >= 1.4.0 <= 1.5.5`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}