Home

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.

PUBLISHED Reserved 2025-04-15 | Published 2025-07-16 | Updated 2026-04-07 | Assigner VulnCheck




HIGH: 8.4CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-121 Stack-based Buffer Overflow

CWE-20 Improper Input Validation

CWE-94 Improper Control of Generation of Code ('Code Injection')

Product status

Default status
unaffected

Complete 4.0.0.0
affected

HD Mod 3.808 build 9
affected

Demo 1.0.0.0
affected

Credits

Pierre Lindblad finder

John AAkerblo finder

References

raw.githubusercontent.com/...windows/fileformat/homm3_h3m.rb exploit

www.exploit-db.com/exploits/37716 exploit

www.vulncheck.com/...-and-magic-iii-map-file-buffer-overflow third-party-advisory

cve.org (CVE-2025-34124)

nvd.nist.gov (CVE-2025-34124)

Download JSON