← Vulnerability feed

Vulnerability record · CVE-2004-1520 · published 31 December 2004

CVE-2004-1520: IPSwitch IMail IMAP DELETE stack buffer overflow

Ipswitch · Imail

IPSwitch IMail 8.13 contains a stack-based buffer overflow reachable through a long IMAP DELETE command. A remote authenticated user can trigger the overflow and execute arbitrary code on the mail server. The flaw matters because it lets a low-privileged mail account compromise the underlying host.

4.6 CVSS 2.0 Medium EPSS 89% · top 0.2%
4.6CVSS 2.0 base score
89%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in IPSwitch IMail 8.13 allows remote authenticated users to execute arbitrary code via a long IMAP DELETE command.

AV:L/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityRemote code execution with public exploit material and very high EPSS, though it requires valid IMAP credentials and affects an old product version.

What it is

IPSwitch IMail 8.13 contains a stack-based buffer overflow reachable through a long IMAP DELETE command. A remote authenticated user can trigger the overflow and execute arbitrary code on the mail server. The flaw matters because it lets a low-privileged mail account compromise the underlying host.

Impact

An attacker with valid IMAP credentials gains arbitrary code execution in the context of the IMail service, potentially leading to full server compromise. The CVSS 2.0 vector rates confidentiality, integrity and availability impact as partial.

Attack surface

The flaw is reached over the network through the IMAP service by sending an oversized DELETE command. Authentication is required per the description, and no user interaction beyond issuing the crafted command is needed.

Exploitation

CISA KEV does not list this CVE, but EPSS is very high at 0.885 (99.8th percentile) and a SecurityFocus reference is tagged Exploit, indicating public exploit material exists.

What to do

  • Apply the vendor patch referenced in the Secunia advisory for IMail 8.13.
  • Restrict IMAP access to trusted networks and disable the service where it is not required.
  • Enforce strong authentication and least privilege on mail accounts to limit who can reach the vulnerable command.
  • Monitor and filter oversized or malformed IMAP DELETE commands at the perimeter.
  • Upgrade to a supported IMail release if 8.13 is still in use.

Detection

  • Inspect IMAP server logs for abnormally long DELETE commands or malformed IMAP syntax.
  • Alert on IMail service crashes or restarts that coincide with IMAP DELETE activity.
  • Monitor for unexpected child processes or outbound connections spawned by the IMail service.
  • Use network IDS signatures for oversized IMAP DELETE requests against port 143 or 993.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2004-1520 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2005-1255Ipswitch imail vulnerabilityMultiple stack-based buffer overflows in the IMAP server in IMail 8.12 and 8.13 in Ipswitch Collaboration Suite (ICS), and other versions before IMai…EPSS 43%10.0CVE-2005-1256IMail IMAP daemon stack buffer overflow via STATUS commandThe IMAP daemon (IMAPD32.EXE) in Ipswitch IMail 8.13 and other versions before IMail Server 8.2 Hotfix 2 contains a stack-based buffer overflow trigg…EPSS 59%analysed10.0CVE-2004-0297Ipswitch IMail LDAP daemon buffer overflow via large tag lengthThe LDAP daemon (iLDAP.exe 3.9.15.10) in Ipswitch IMail Server 8.03 has a buffer overflow triggered by an LDAP message with a large tag length. A rem…EPSS 68%analysed10.0CVE-2002-0777Ipswitch imail vulnerabilityBuffer overflow in the LDAP component of Ipswitch IMail 7.1 and earlier allows remote attackers to execute arbitrary code via a long "bind DN" parame…EPSS 10%10.0CVE-1999-1046Ipswitch imail vulnerabilityBuffer overflow in IMonitor in IMail 5.0 allows remote attackers to cause a denial of service, and possibly execute arbitrary commands, via a long st…EPSS 15%9.3CVE-2007-1637Ipswitch imail vulnerabilityMultiple buffer overflows in the IMAILAPILib ActiveX control (IMailAPI.dll) in Ipswitch IMail Server before 2006.2 allow remote attackers to execute …EPSS 5.6%9.0CVE-2007-2795Ipswitch imail memory buffer overflow vulnerabilityMultiple buffer overflows in Ipswitch IMail before 2006.21 allow remote attackers or authenticated users to execute arbitrary code via (1) the authen…EPSS 24%7.5CVE-2007-5094Ipswitch imail memory buffer overflow vulnerabilityHeap-based buffer overflow in iaspam.dll in the SMTP Server in Ipswitch IMail Server 8.01 through 8.11 allows remote attackers to execute arbitrary c…EPSS 4.4%

Source: NIST National Vulnerability Database (record CVE-2004-1520), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.