# CVE-2026-116841: DevilutionX 1.4.0 through 1.5.5 Out-of-Bounds Read via libmpq Hash Table Lookup

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-27T00:34:00.513Z
- Modified: 2026-11-05T18:17:03.340Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- diasurgical DevilutionX: from 1.4.0 up to 1.5.5

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob> (exploit, technical-description)
- <https://github.com/diasurgical/DevilutionX/issues/8758> (issue-tracking)
- <https://github.com/diasurgical/DevilutionX/pull/8482> (issue-tracking, patch)
- <https://github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841b05/libmpq/mpq.c#L740> (technical-description)
- <https://github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d3b22c52f/3rdParty/libmpq/CMakeLists.txt> (technical-description)
- <https://www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-out-of-bounds-read-via-libmpq-hash-table-lookup> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-116841](https://www.cve.org/CVERecord?id=CVE-2026-116841), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-116841](https://nvd.nist.gov/vuln/detail/CVE-2026-116841), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-116841 · Whole record: https://cve.day/CVE-2026-116841.json · Rebuilt by cve.day 2026-11-25T22:59:47.322Z
