nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2025-34124 CVE-2025-34124
HIGH
Heroes of Might and Magic III .h3m Map File Buffer Overflow
Record summary
CVE-2025-34124 has a selected CVSS score of 8.4 (high); EIP currently links 2 catalogued exploits.
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.
Description source: CVE List
Exploitation context
Available material
- Catalogued exploits
- 2
CISA SSVC decision
ExploitationPoC
AutomatableNo
Technical impactTotal
CISA Coordinator · SSVC 2.0.3 · Evaluated Jul 17, 2025 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Heroes of Might and Magic IIIBrowse The 3DO Company / Heroes of Might and Magic IIIDefault status: unaffected | CVE List | Complete 4.0.0.0 | affected |
| HD Mod 3.808 build 9 | affected | ||
| Demo 1.0.0.0 | affected |
Proofs of concept
2Catalogued exploits
ExploitDBHeroes of Might and Magic III - Map Parsing Arbitrary Code ExecutionExploitDB exploitby John AAkerblomNot analyzed1 file
MetasploitHeroes of Might and Magic III .h3m Map file Buffer OverflowMetasploit exploitby John AAkerblom +1 moreNot analyzed1 file
References
4raw.githubusercontent.comexploit
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/fileformat/homm3_h3m.rb exploit-db.comexploit
https://www.exploit-db.com/exploits/37716 vulncheck.comThird-party advisory
https://www.vulncheck.com/advisories/heroes-of-might-and-magic-iii-map-file-buffer-overflow