CVE-2004-2221: Buffer overflow in SoftCart.exe in Mercantec SoftCart 4.00b allows remote attackers to execute arbitrary code
CVE-2004-2221 is a high-severity flaw (CVSS 7.5) affecting softcart. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Buffer overflow in SoftCart.exe in Mercantec SoftCart 4.00b allows remote attackers to execute arbitrary code via a long parameter in an HTTP GET request.
Why this priority
- High severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 34.8% (top 2%) |
| CISA exploited list | No |
| Published | 2004-12-31 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Mercantec SoftCart 4.00b - CGI Overflow (Metasploit)
- Exploit-DB: Mercantec SoftCart - CGI Overflow (Metasploit)
- Metasploit: Mercantec SoftCart CGI Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-2221?
softcart: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-2221 being exploited?
CVE-2004-2221 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-2221 affect?
CVE-2004-2221 affects softcart. Severity is high (CVSS 7.5). Buffer overflow in SoftCart.exe in Mercantec SoftCart 4.00b allows remote attackers to execute arbitrary code via a long parameter in an HTTP GET request.
How urgent is CVE-2004-2221?
Priority 56/100. High severity; EPSS top 2%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2008-0523 MEDIUM 4.3 DOWNGRADE Multiple cross-site scripting (XSS) vulnerabilities in SoftCart.exe in SoftCart 5.1.2.2 allow remote attackers