CVE-2004-1254 in Rarlab Winrar
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rarlab | Winrar | 3.0.0 3.10 3.10_beta3 3.10_beta5 3.11 3.20+2 more3.40 3.41 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-1254 |
|---|---|
| BreachSpider ID | BS-2005-GLOBAL-171867-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2005-01-10 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
WinRAR 3.40 and earlier versions are vulnerable to a remote code execution attack through a specially crafted ZIP file with a long filename, potentially leading to an integer overflow and buffer overflow.
The vulnerability arises from improper handling of long filenames in ZIP archives, which can cause an integer overflow, leading to a buffer overflow. This can be exploited by an attacker to execute arbitrary code on the target system.
Questions
What is CVE-2004-1254?
WinRAR 3.40 and earlier versions are vulnerable to a remote code execution attack through a specially crafted ZIP file with a long filename, potentially leading to an integer overflow and buffer overflow.
What is the CVSS score for CVE-2004-1254?
CVE-2004-1254 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 10.4%.
Is CVE-2004-1254 actively exploited?
Public exploit available for CVE-2004-1254. Exploitation risk elevated.
How do I remediate CVE-2004-1254?
Priority: IMMEDIATE.
What systems are affected by CVE-2004-1254?
CVE-2004-1254 affects Rarlab Winrar.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Rarlab","product":"Winrar","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.