PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-116842 diasurgical CVE debrief

A heap buffer overflow vulnerability exists in DevilutionX versions 1.4.0 through 1.5.5, specifically in the libmpq __archive_dup routine. This vulnerability can be triggered by opening a crafted MPQ archive with a block table count that exceeds its hash table count, leading to a memcpy operation that overflows the heap during game startup, causing a crash.

Vendor
diasurgical
Product
DevilutionX
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-27
Original CVE updated
2026-10-31
Advisory published
2026-10-27
Advisory updated
2026-10-31

Who should care

Defenders responsible for systems or deployments using DevilutionX versions 1.4.0 through 1.5.5 should assess exposure and prioritize remediation or compensating controls to prevent potential crashes or anomalies.

Why it matters

Defenders should prioritize verifying DevilutionX versions and assessing exposure to crafted MPQ archives to prevent potential crashes. Remediation involves updating to a version outside the affected range, if available, and implementing compensating controls.

  • Verification of DevilutionX versions and exposure to crafted MPQ archives is necessary to prevent potential crashes.
  • Implementing compensating controls to monitor and restrict untrusted MPQ archives can help mitigate the vulnerability.
  • Remediation priority is moderate, given the potential for a crash and the availability of possible patches or updates.

Technical summary

The vulnerability exists in the libmpq __archive_dup routine of DevilutionX versions 1.4.0 through 1.5.5. A crafted MPQ archive can trigger a heap buffer overflow by exceeding the hash table count with its block table count, leading to a crash during game startup. This vulnerability can be exploited by supplying an MPQ archive with a block table count that exceeds its hash table count, causing memcpy to overflow the heap during startup and crash the game. Defenders should prioritize verifying the versions of DevilutionX in use and assessing exposure to crafted MPQ archives.

Defensive priority

Defenders should prioritize verifying the versions of DevilutionX in use and assessing exposure to crafted MPQ archives. Remediation involves updating to a version outside the affected range, if available, and implementing compensating controls to monitor and restrict the opening of untrusted MPQ archives.

Recommended defensive actions

  • Verify DevilutionX versions in use and assess exposure to crafted MPQ archives
  • Restrict the opening of untrusted MPQ archives
  • Monitor for and respond to potential crashes or anomalies in the game
  • Consider updating to a version outside the affected range, if available
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description, affected versions, and references to technical descriptions and potential patches. However, information on exploitation, impact, and remediation is limited.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-116842 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-116842

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-116842 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-116842

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • DevilutionX 1.4.0 through 1.5.5 Heap Buffer Overflow via libmpq__archive_dup

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/116xxx/CVE-2026-116842.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/diasurgical/DevilutionX/issues/8758

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/diasurgical/DevilutionX/pull/8482

    Supplemental source - patch, issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/diasurgical/libmpq/blob/b78d66c6fee6a501cc9b95d8556a129c68841b05/libmpq/mpq.c

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/diasurgical/DevilutionX/blob/7223eeac9e8274fbf665b4de86fda26d3b22c52f/3rdParty/libmpq/CMakeLists.txt

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://hackmd.io/@haindpwn/devilutionx-libmpq-hash-block-table-oob

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/devilutionx-1.4.0-through-1.5.5-heap-buffer-overflow-via-libmpq-archive-dup

    Supplemental source - third-party-advisory

  • Source reference

    Unverified legacy reference

    URL: https://hackmd.io/@haindpwn/cve-2026-116841-116842-devilutionx-libmpq-hash-block-table-oob

    Supplemental source - exploit

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.