CVE-2004-1211: Buffer Overflow in Mercury/32 4.01a IMAP Service
- Vendor
- David Harris
Multiple stack-based buffer overflows exist in the IMAP service of Mercury/32 version 4.01a. These vulnerabilities are triggered by sending excessively long arguments to various IMAP commands (including EXAMINE, SUBSCRIBE, STATUS, APPEND, CHECK, CLOSE, EXPUNGE, FETCH, RENAME, DELETE, LIST, SEARCH, CREATE, and UNSUBSCRIBE) after authenticating to the service. Exploitation allows remote authenticated attackers to crash the service or potentially execute arbitrary code with the privileges of the Mercury/32 process.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote authenticated attackers to cause a denial of service (crash) or execute arbitrary code on the affected system, leading to full compromise of the Mercury/32 server. Public exploits, including a Metasploit module, are available, increasing the risk of exploitation in the wild.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the IMAP service to trusted users and networks only. Monitor authentication logs for suspicious activity. Where possible, use network-level controls (e.g., firewalls) to limit exposure of the IMAP service. Consider disabling the IMAP service if not required until the vulnerability is remediated.
Remediation
Patch, then assume compromise.
Upgrade Mercury/32 to the latest available version that addresses these buffer overflow vulnerabilities. Consult the vendor's security advisories and update guidance to ensure all relevant patches are applied.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 6 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2004-1211 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-1211 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-1211?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2004-1211, the earliest disclosed Nov 29, 2004.
- Is there a patch for CVE-2004-1211?
- Upgrade Mercury/32 to the latest available version that addresses these buffer overflow vulnerabilities. Consult the vendor's security advisories and update guidance to ensure all relevant patches are applied.
- What products are affected by CVE-2004-1211?
- David Harris Mercury.
- How severe is CVE-2004-1211?
- CVE-2004-1211 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 72.5% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.