CVE-2025-34124
8.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| The 3DO Company | Heroes of Might and Magic III | Complete 4.0.0.0 | affected |
| The 3DO Company | Heroes of Might and Magic III | HD Mod 3.808 build 9 | affected |
| The 3DO Company | Heroes of Might and Magic III | Demo 1.0.0.0 | affected |
Weaknesses
- CWE-121: CWE-121 Stack-based Buffer Overflow
- CWE-20: CWE-20 Improper Input Validation
- CWE-94: CWE-94 Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: total
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.