CVE-2007-4440 is a stack-based buffer overflow in the MercuryS SMTP server of Mercury Mail Transport System, possibly version 4.51 and earlier. Processing an overly long AUTH CRAM-MD5 string can overflow a stack buffer, allowing a remote attacker to execute arbitrary code. The issue may overlap with CVE-2006-5961.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a single Metasploit exploit module targeting a stack buffer overflow vulnerability in Mercury Mail Transport System version 4.51's SMTP service (CVE-2007-4440). The exploit connects to the target's SMTP service on TCP port 25 and abuses the AUTH CRAM-MD5 command to send a specially crafted, base64-encoded buffer that overflows the stack and allows execution of arbitrary code. The module supports customizable payloads (up to 600 bytes, with specific bad characters avoided) and is operational, providing remote code execution if successful. The exploit is written in Ruby and is structured as a standard Metasploit module, making it easy to use within the Metasploit framework. The only fingerprintable endpoint is the SMTP service on TCP port 25 of the target running Mercury Mail 4.51.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.