{"id":"CVE-2026-116841","revision":"32af6482ee4249dcb654e03b26f45bf0","records":[{"revision":"32af6482ee4249dcb654e03b26f45bf0","observedAt":"2026-10-27T02:31:55.176+00:00","statement":{"source":"cve-program","id":"CVE-2026-116841","aliases":[],"title":"DevilutionX 1.4.0 through 1.5.5 Out-of-Bounds Read via libmpq Hash Table Lookup","description":"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.","state":0,"publishedAt":"2026-10-27T00:34:00.513+00:00","modifiedAt":"2026-10-27T00:34:00.513+00:00","affected":[{"ecosystem":"Vendor product","name":"DevilutionX","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"diasurgical\",\n                    \"product\": \"DevilutionX\",\n                    \"packageURL\": \"pkg:github/diasurgical/DevilutionX\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.4.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"1.5.5\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.8,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"severity":"MEDIUM"}],"references":["https://github.com/diasurgical/DevilutionX/issues/8758","https://github.com/diasurgical/DevilutionX/pull/8482","https://github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841b05/libmpq/mpq.c#L740","https://github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d3b22c52f/3rdParty/libmpq/CMakeLists.txt","https://hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob","https://www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-out-of-bounds-read-via-libmpq-hash-table-lookup"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116841","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-116841","identifiers":["CVE-2026-116841"]},"retained":false,"historicalAffected":[]}],"coverage":[]}