CVE-2004-1254

WinRAR 3.40 - Remote Code Execution via ZIP File with Long Filename

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-1254. PoCs published by Vafa Khoshaein.

AI-analyzed exploit summary This exploit generates a malformed ZIP file that triggers a buffer overflow in WinRAR 3.40 when attempting to delete a file within the archive. The PoC creates a ZIP file with an overly long filename to overflow a buffer and overwrite EIP.

Description

WinRAR 3.40, and possibly earlier versions, allows remote attackers to execute arbitrary code via a ZIP file containing a file with a long filename, possibly causing an integer overflow that leads to a buffer overflow.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Vafa Khoshaein · clocalwindows
https://www.exploit-db.com/exploits/694

This exploit generates a malformed ZIP file that triggers a buffer overflow in WinRAR 3.40 when attempting to delete a file within the archive. The PoC creates a ZIP file with an overly long filename to overflow a buffer and overwrite EIP.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WinRAR 3.40
No auth needed
Prerequisites: WinRAR 3.40 installed on the target system · User interaction to open and attempt to delete the file in the archive
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Various Sources x_refsource_misc
http://www.frsirt.com/exploits/20041217.Winrar.c.php
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/18569

Scores

EPSS 0.1035
EPSS Percentile 95.1%

Details

Status published
Products (8)
rarlab/winrar 3.0.0
rarlab/winrar 3.10
rarlab/winrar 3.10_beta3
rarlab/winrar 3.10_beta5
rarlab/winrar 3.11
rarlab/winrar 3.20
rarlab/winrar 3.40
rarlab/winrar 3.41
Published Jan 10, 2005
Tracked Since Feb 18, 2026