{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.4.0"
                  },
                  {
                    "last_affected": "1.5.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.4.0"
                  },
                  {
                    "last_affected": "1.5.5"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0ac787fc054208000339f412a2bc6818661157dc"
            },
            {
              "last_affected": "7223eeac9e8274fbf665b4de86fda26d3b22c52f"
            }
          ],
          "repo": "https://github.com/diasurgical/devilutionx",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116841.json"
  },
  "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.",
  "id": "CVE-2026-116841",
  "modified": "2026-11-07T02:30:54.834170578Z",
  "published": "2026-10-27T00:34:00.513Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "DevilutionX 1.4.0 through 1.5.5 Out-of-Bounds Read via libmpq Hash Table Lookup"
}