Buffer Overflow in Mercury Mail IMAP Service (SELECT Command)
A buffer overflow vulnerability exists in the IMAP service of Mercury (Pegasus) Mail version 4.01. The vulnerability is triggered when a remote attacker sends a specially crafted, overly long SELECT command to the IMAP service, resulting in a buffer overflow condition. This can allow the attacker to overwrite memory and potentially execute arbitrary code on the affected system.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary code with the privileges of the Mercury Mail IMAP service, potentially leading to full system compromise.
If you can’t patch tonight, do this now.
Restrict network access to the IMAP service to trusted IP addresses using firewall rules. Monitor for abnormal IMAP traffic and consider disabling the IMAP service if it is not required until a patch is applied.
Patch, then assume compromise.
Upgrade to a patched version of Mercury (Pegasus) Mail that addresses this buffer overflow vulnerability. If a patch is not available, consider disabling the IMAP service or restricting access to trusted hosts only.
No validated public exploits yet. Hidden: 5 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.