Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2006-1255: Stack Buffer Overflow in Mercur Messaging IMAP Service

Published Mar 19, 2006 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v2
EPSS68.8%99th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Mercur
IdentifiersCVE-2006-1255CWE-121

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 4 not yet analyzed, such as Exploit-DB entries.

View more in app →
mercur_imap_select_overflow.rbThis repository contains a single Metasploit module: 'mercur_imap_select_overflow.rb', which exploits a stack-based buffer overflow vulnerability (CVE-2006-1255) in the Mercur v5.0 IMAP server SP3. The exploit targets Windows 2000 Server SP4 English and Windows 2000 Pro SP1 English platforms. The module leverages the Metasploit framework's IMAP support to connect to the target IMAP service (typically on TCP port 143), authenticate, and send a specially crafted 'SELECT' command that overflows a buffer, allowing execution of arbitrary code. The payload is customizable via Metasploit and can provide remote shell access or other capabilities. The exploit is weaponized, as it is part of the Metasploit framework and supports flexible payload selection. No hardcoded IP addresses or URLs are present; the only fingerprintable endpoint is the IMAP service itself.Disclosed Mar 17, 2006 · Framework: metasploit · ruby · networkWeaponizedmercur_login.rbThis repository contains a single Metasploit exploit module targeting a stack buffer overflow vulnerability (CVE-2006-1255) in Atrium Mercur Messaging IMAP 5.0 SP3. The exploit is implemented in Ruby and leverages the Metasploit framework's TCP and egghunter modules. The vulnerability is exploited by sending a specially crafted IMAP LOGIN command to the service running on TCP port 143, resulting in arbitrary code execution. The module supports payloads with a small buffer space, using an egghunter to locate the shellcode in memory. The exploit targets Windows 2000 Pro SP4 English and Windows XP Pro SP2 English systems. The repository structure is typical for Metasploit modules, with the exploit code located in 'modules/exploits/windows/imap/mercur_login.rb'.Disclosed Mar 17, 2006 · Framework: metasploit · ruby · networkWeaponized
Exposure surface

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.

VendorProductType
MercurMercur Messagingapplication
FAQ

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.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.