CVE-2013-4988

IcoFX < 2.5 - Remote Code Execution via Long idCount in ICONDIR Structure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 4 public exploits for CVE-2013-4988. PoCs published by Metasploit, Core Security, Austin Babcock, including Metasploit module exploits/windows/fileformat/icofx_bof.

AI-analyzed exploit summary This Metasploit module exploits a stack-based buffer overflow in IcoFX 2.5 by crafting a malicious .ICO file with an oversized ICONDIR header, triggering an SEH overwrite and ROP chain to achieve arbitrary code execution.

Description

Stack-based buffer overflow in IcoFX 2.5 and earlier allows remote attackers to execute arbitrary code via a long idCount value in an ICONDIR structure in an ICO file. NOTE: some of these details are obtained from third party information.

Exploits (4)

exploitdb WORKING POC VERIFIED
by Metasploit · rubylocalwindows
https://www.exploit-db.com/exploits/30788

This Metasploit module exploits a stack-based buffer overflow in IcoFX 2.5 by crafting a malicious .ICO file with an oversized ICONDIR header, triggering an SEH overwrite and ROP chain to achieve arbitrary code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: IcoFX 2.5
No auth needed
Prerequisites: Victim must open the malicious .ICO file in IcoFX
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WRITEUP VERIFIED
by Core Security · textdoswindows
https://www.exploit-db.com/exploits/30208

This advisory details a buffer overflow vulnerability in IcoFX v2.5.0.0, which allows arbitrary code execution when a maliciously crafted .ICO file is opened. The vulnerability is due to improper handling of file data, leading to SEH overwrites.

Classification
Writeup 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: IcoFX v2.5.0.0
No auth needed
Prerequisites: User interaction to open a malicious .ICO file
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
by Austin Babcock · pythonlocalwindows
https://www.exploit-db.com/exploits/49959

This exploit demonstrates a buffer overflow in IcoFX 2.6 using SEH overwrite and DEP bypass via JOP (Jump-Oriented Programming) to execute arbitrary shellcode. It leverages ROP to set up a JOP chain that performs stack pivots and calls VirtualProtect to disable DEP.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: IcoFX 2.6.0.0
No auth needed
Prerequisites: Victim must open the malicious .ico file in IcoFX
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC NORMAL
by Marcos Accossatto, juan vazquez · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/icofx_bof.rb

This Metasploit module exploits a stack-based buffer overflow in IcoFX 2.5 by crafting a malicious .ICO file with an overly large number of images in the ICONDIR header, leading to arbitrary code execution via SEH overwrite and ROP gadgets.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: IcoFX 2.5
No auth needed
Prerequisites: Victim must open the malicious .ICO file in IcoFX
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/89611
Exploit mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2013-12/0046.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/100826
Exploit exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/30208
Exploit mailing-list x_refsource_fulldisc
http://seclists.org/fulldisclosure/2013/Dec/54
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/55964
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/64221

Scores

EPSS 0.6700
EPSS Percentile 99.2%

Details

CWE
CWE-119
Status published
Products (11)
icofx/icofx 1.6
icofx/icofx 1.6.1
icofx/icofx 1.6.2
icofx/icofx 1.6.3
icofx/icofx 1.6.4
icofx/icofx 2.0
icofx/icofx 2.1
icofx/icofx 2.2
icofx/icofx 2.3
icofx/icofx 2.4
... and 1 more
Published Dec 13, 2013
Tracked Since Feb 18, 2026