Exploiting Titan Quest
The game's level and particle-effect deserialisation code trusts sizes read from map files, so a crafted custom map can overflow a heap buffer. An attacker could use a malicious shared map to corrupt memory and, as the authors demonstrated, redirect execution to run their own code.
Published on synacktiv.com
Rédigé par Thomas Dubier - 29/07/2026 - dans Exploit - Téléchargement
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the deserialiser multiplies attacker-supplied width and height to size an allocation (which can overflow 32 bits) and then copies an unchecked count of bytes into it, with no bounds validation.
Impact
A malicious shared map could let an attacker run arbitrary code on a player's Windows machine; the authors demonstrated this on Windows 11, though several DLLs lack ASLR and the heap grooming depends on allocator behaviour.
What the attacker needed
Victim installs a shared custom map; game version 2.10.21415 on Windows; attacker crafts the map files
How it was found
- Install a custom map archive into the game's custommaps folder.
- Load the map so the game parses the level file and reaches the impassable-data block.
- Use a first level to shape the heap with water-type objects and free selected blocks.
- Trigger the overflow in the impassable-data loader so the level object's water pointer is overwritten.
- Place a water block after it so the corrupted pointer is used and an indirect call is made.
- Run a ROP chain that makes the heap executable and launches shellcode.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A game map file is a bundle of numbers that tell the game how big things are. The game trusted those numbers without checking them, so a rigged map could make it write more data than it reserved space for, spilling into neighbouring memory. The researchers then showed how that spill can be turned into running their own code on the player's machine.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.