{"id":"CVE-2025-34124","published":"2025-07-16T21:08:33Z","modified":"2026-04-07T14:09:44Z","title":"Heroes of Might and Magic III .h3m Map File Buffer Overflow","vendor":"The 3DO Company","product":"Heroes of Might and Magic III","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.45153,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/fileformat/homm3_h3m.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/37716","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/heroes-of-might-and-magic-iii-map-file-buffer-overflow","tags":["third-party-advisory"]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":9.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.88}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2015-07-29"},"metasploit":[{"name":"Heroes of Might and Magic III .h3m Map file Buffer Overflow","module":"exploit/windows/fileformat/homm3_h3m","type":"exploit","disclosureDate":"2015-07-29","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/homm3_h3m.rb"}],"first":{"date":"2015-07-29","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/37716"},"provenance":"source"},"vendorSlug":"the-3do","affectedVersions":[{"vendor":"The 3DO Company","product":"Heroes of Might and Magic III","versions":["Complete 4.0.0.0","HD Mod 3.808 build 9","Demo 1.0.0.0"]}],"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"},{"id":"CAPEC-137","name":"Parameter Injection"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-07-17T19:34:38.937324Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21747","exploited":false,"provenance":"source"},"exploits":[{"id":37716,"url":"https://www.exploit-db.com/exploits/37716","title":"Heroes of Might and Magic III - Map Parsing Arbitrary Code Execution","date":"2015-07-29","verified":true,"provenance":"source"}],"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/fileformat/homm3_h3m.rb","https://www.exploit-db.com/exploits/37716"]}