We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-34124

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



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.

Reserved 2025-04-15 | Published 2025-07-16 | Updated 2025-07-16 | 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

Share this page
https://cve.threatint.eu/CVE/CVE-2025-34124

Support options

Helpdesk Chat, Email, Knowledgebase