CVE-2007-4440
Stack-based buffer overflow in the MercuryS SMTP server in Mercury Mail Transport System, possibly 4.51 and earlier, allows remote…
- 7.5HighCVSS base score
- 64.5%Exploitation in 30 daysEPSS · top 0.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 4Public exploitsMetasploit, Nuclei and Exploit-DB
Description
Stack-based buffer overflow in the MercuryS SMTP server in Mercury Mail Transport System, possibly 4.51 and earlier, allows remote attackers to execute arbitrary code via a long AUTH CRAM-MD5 string. NOTE: this might overlap CVE-2006-5961.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 3 Exploit-DB entries for it. A reference of the record is tagged as an exploit.
Show the exploits5
Metasploit modules1 module
- Mercury Mail SMTP AUTH CRAM-MD5 Buffer Overflow (Metasploit module) (opens in a new tab)
exploit/windows/smtp/mercury_cram_md5Rank greatdisclosed 18 Aug 2007
Exploit-DB3 entries
- Mercury/32 Mail SMTPD - AUTH CRAM-MD5 Buffer Overflow (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 16821remote, windowspublished 22 Jun 2010Verified
- Mercury/32 Mail SMTPD 4.51 - SMTPD CRAM-MD5 Remote Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 4301remote, windowspublished 22 Aug 2007Verified
- Mercury/32 Mail SMTPD - Remote Stack Overrun (PoC) (Exploit-DB entry) (opens in a new tab)
EDB-ID 4294dos, windowspublished 18 Aug 2007Verified
References tagged exploit1 reference
- 4294 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 64.5% · top 0.8% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
9
- 26519 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20070818 Mercury SMTPD Remote Preauth Stack Based Overrun (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- ADV-2007-2918 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 4294 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://www.pmail.com/m32_451.htm (opens in a new tab)x_refsource_CONFIRMx_transferred
- 25357 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- mercury-smtp-bo(36117) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 1018587 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- mercury-authcrammd5-bo(36299) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-4423 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-4440)Record last updated .