Description
DevilutionX 1.4.0 through 1.5.5 contains a heap buffer overflow vulnerability in the bundled libmpq libmpq__archive_dup routine when opening crafted MPQ archives. Attackers can supply an MPQ archive whose block table count exceeds its hash table count, causing memcpy to overflow the heap during startup and crash the game.
Published: 2026-10-27
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Memory Corruption
Action: Patch Update
AI Analysis

Impact

A heap buffer overflow occurs in the libmpq__archive_dup routine bundled with DevilutionX. When the program opens an MPQ archive whose block table count exceeds the hash table count, the memcpy operation silently overflows the allocated heap buffer, corrupting memory. This vulnerability is classified as a CWE‑787 heap-based buffer overflow and is primarily a denial‑of‑service vector that causes the game to crash.

Affected Systems

This issue affects DevilutionX version 1.4.0 through 1.5.5 as distributed by diasurgical. No other vendors or product versions are mentioned as impacted.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS information is not available, so the likelihood of exploitation remains unknown at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Attackers must supply a crafted MPQ archive to the victim, implying a local or file‑based attack vector. If a user launches the game with a malicious archive, the heap corruption will occur during startup, resulting in a crash. No privileged escalation is required, and the effect is confined to the process memory of the player’s installation.

Generated by OpenCVE AI on October 27, 2026 at 07:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DevilutionX to version 1.5.6 or later, which contains the libmpq fix.
  • Avoid loading MPQ archives from untrusted or unknown sources that may contain a block table count greater than their hash table count.
  • If upgrading is not possible, disable or remove custom MPQ integration features to reduce the attack surface.
  • Validate MPQ archive integrity before opening, using hash checks or signatures if available.

Generated by OpenCVE AI on October 27, 2026 at 07:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
Description DevilutionX 1.4.0 through 1.5.5 contains a heap buffer overflow vulnerability in the bundled libmpq libmpq__archive_dup routine when opening crafted MPQ archives. Attackers can supply an MPQ archive whose block table count exceeds its hash table count, causing memcpy to overflow the heap during startup and crash the game.
Title DevilutionX 1.4.0 through 1.5.5 Heap Buffer Overflow via libmpq__archive_dup
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T00:34:01.167Z

Reserved: 2026-10-27T00:10:22.758Z

Link: CVE-2026-116842

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T01:19:07.573

Modified: 2026-10-27T01:19:07.573

Link: CVE-2026-116842

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T07:30:15Z

Weaknesses