CVE-2006-1255: Stack Buffer Overflow in Mercur Messaging IMAP Service
- Vendor
- Mercur
A stack-based buffer overflow exists in the IMAP service of Mercur Messaging 5.0 SP3 and earlier. The vulnerability is triggered when a remote attacker sends an excessively long string to the LOGIN or SELECT command, resulting in a buffer overflow on the stack. This is distinct from CVE-2003-1177 and involves different attack vectors.
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 can lead to denial of service by crashing the application, and potentially allows remote code execution with the privileges of the Mercur Messaging service, depending on stack protection and exploitability.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to the IMAP service to trusted IP addresses, and use network-level protections such as firewalls or intrusion prevention systems to block malicious traffic targeting the IMAP service. Monitor for abnormal IMAP command lengths in logs.
Remediation
Patch, then assume compromise.
Upgrade to a version of Mercur Messaging later than 5.0 SP3 that addresses this vulnerability. If no patch is available, consider disabling the IMAP service or restricting access to trusted hosts only.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 4 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-2006-1255 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2006-1255 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2006-1255?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2006-1255, the earliest disclosed Mar 17, 2006.
- Is there a patch for CVE-2006-1255?
- Upgrade to a version of Mercur Messaging later than 5.0 SP3 that addresses this vulnerability. If no patch is available, consider disabling the IMAP service or restricting access to trusted hosts only.
- What products are affected by CVE-2006-1255?
- Mercur Messaging.
- How severe is CVE-2006-1255?
- CVE-2006-1255 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 68.8% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.