CVE-2025-34124 Heroes of Might and Magic III .h3m Map File Buffer Overflow

High 8.4 Published Updated

Attackers can execute arbitrary code by tricking users into opening malicious .h3m map files in Heroes of Might and Magic III.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-34124?

CVE-2025-34124 is a high-severity memory corruption vulnerability in The 3DO Company Heroes of Might and Magic III, published on 16 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A buffer overflow vulnerability exists in Heroes of Might and Magic III Complete 4.0.0.0, HD Mod 3.808 build 9, and Demo 1.0.0.0 via malicious .h3m map files that exploit object sprite name parsing logic. The vulnerability occurs during in-game map loading when a crafted object name causes a buffer overflow, potentially allowing arbitrary code execution. Exploitation requires the victim to open a malicious map file within the game.

Weakness: CWE-20, CWE-94, CWE-121

Which versions are affected by CVE-2025-34124?

How do I fix CVE-2025-34124?

No fix has been published for CVE-2025-34124 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-34124 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34124 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-72f4-q73h-wfwq.

Is CVE-2025-34124 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free