{"id":"CVE-2026-116841","summary":"DevilutionX 1.4.0 through 1.5.5 Out-of-Bounds Read via libmpq Hash Table Lookup","details":"DevilutionX 1.4.0 through 1.5.5 contains an out-of-bounds read vulnerability in the bundled libmpq libmpq__file_number_from_hash function that allows attackers to read heap memory via unchecked block_table_index values. Attackers can place a crafted .mpq archive in the game's data path, such as a mod, to trigger reads past mpq_map and crash the game.","modified":"2026-11-07T02:30:54.834170578Z","published":"2026-10-27T00:34:00.513Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116841.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-125"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116841.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116841"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-out-of-bounds-read-via-libmpq-hash-table-lookup"},{"type":"REPORT","url":"https://github.com/diasurgical/DevilutionX/issues/8758"},{"type":"FIX","url":"https://github.com/diasurgical/DevilutionX/pull/8482"},{"type":"ARTICLE","url":"https://github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d3b22c52f/3rdParty/libmpq/CMakeLists.txt"},{"type":"ARTICLE","url":"https://github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841b05/libmpq/mpq.c#L740"},{"type":"ARTICLE","url":"https://hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/diasurgical/devilutionx","events":[{"introduced":"0ac787fc054208000339f412a2bc6818661157dc"},{"last_affected":"7223eeac9e8274fbf665b4de86fda26d3b22c52f"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"1.4.0"},{"last_affected":"1.5.5"}],"source":"AFFECTED_FIELD"},{"source":"DESCRIPTION","range":[{"introduced":"1.4.0"},{"last_affected":"1.5.5"}]}]}}],"versions":["1.5.5","1.5.4","1.5.3","1.5.2","1.5.1","1.5.0","1.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116841.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}