What’s Vulnerable › Vulnerabilities
CVE-2025-34124: Heroes of Might and Magic III .h3m Map File Buffer Overflow
- Severity: high (CVSS 8.4 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-16 · updated 2026-06-17
- Weakness: CWE-20
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.
Affected products
- The 3DO Company Heroes of Might and Magic III: Complete 4.0.0.0, HD Mod 3.808 build 9, Demo 1.0.0.0
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/fileformat/homm3_h3m.rb
- https://www.exploit-db.com/exploits/37716
- https://www.vulncheck.com/advisories/heroes-of-might-and-magic-iii-map-file-buffer-overflow
Get alerted when CVE-2025-34124 or the next vulnerability affects your stack