CVE-2025-34124

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

State
Published
Severity
8.4 High
Published
Jul 16, 2025
Updated
Apr 7, 2026
Reserved
Apr 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.4 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-121 Stack-based Buffer Overflow
  • CWE-20 Improper Input Validation
  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
Heroes of Might and Magic IIIThe 3DO Company
  • Complete 4.0.0.0Affected
  • HD Mod 3.808 build 9Affected
  • Demo 1.0.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.