Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Heroes of Might and Magic III .h3m Map file Buffer Overflow

Disclosed
Jul 29, 2015
Created
May 30, 2018

Description

This module embeds an exploit into an uncompressed map file (.h3m) for
Heroes of Might and Magic III. Once the map is started in-game, a
buffer overflow occurring when loading object sprite names leads to
shellcode execution.

Authors

Pierre Lindblad
John AAkerblom

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/fileformat/homm3_h3m
msf exploit(homm3_h3m) > show targets
...targets...
msf exploit(homm3_h3m) > set TARGET < target-id >
msf exploit(homm3_h3m) > show options
...show and set options...
msf exploit(homm3_h3m) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.