← Vulnerability feed

Vulnerability record · CVE-2007-4440 · published 21 August 2007

CVE-2007-4440: Mercury Mail MercuryS SMTP stack buffer overflow via AUTH CRAM-MD5

Pmail · Mercury Mail Transport System

Mercury Mail Transport System's MercuryS SMTP server has a stack-based buffer overflow triggered by a long AUTH CRAM-MD5 string. A remote, unauthenticated attacker can send an oversized SMTP command to corrupt memory and potentially execute arbitrary code. The record notes the affected version is possibly 4.51 and earlier, and that this may overlap CVE-2006-5961.

7.5 CVSS 2.0 High EPSS 65% · top 0.8% CWE-119 · Memory buffer overflow
7.5CVSS 2.0 base score
65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
18References, 2 tagged exploit
16 Jun 2026Last modified by NVD

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.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityRemote unauthenticated code execution with public exploit references and very high EPSS, though no KEV listing and an uncertain affected version range.

What it is

Mercury Mail Transport System's MercuryS SMTP server has a stack-based buffer overflow triggered by a long AUTH CRAM-MD5 string. A remote, unauthenticated attacker can send an oversized SMTP command to corrupt memory and potentially execute arbitrary code. The record notes the affected version is possibly 4.51 and earlier, and that this may overlap CVE-2006-5961.

Impact

Successful exploitation can allow arbitrary code execution in the context of the SMTP service, giving an attacker control of the mail server process. Even without code execution, the overflow can crash the service and disrupt mail handling.

Attack surface

Reachable over the network through the SMTP service on MercuryS, with no authentication required and no user interaction. The CVSS vector AV:N/AC:L/Au:N confirms remote, low-complexity, unauthenticated access.

Exploitation

Public exploit references exist, including a SecurityFocus BID tagged Exploit and an Exploit-DB entry, and EPSS is high at 0.64513 (99.2nd percentile). CISA KEV does not list this CVE, so there is no confirmed in-the-wild exploitation record in this dataset.

What to do

  • Upgrade Mercury Mail Transport System to a version later than 4.51 if available; the record only states 'possibly 4.51 and earlier' and does not name a fixed version.
  • If upgrading is not possible, restrict SMTP access to trusted networks and disable or block the AUTH CRAM-MD5 mechanism where it is not required.
  • Place the SMTP service behind a filtering proxy or IPS that can reject oversized AUTH CRAM-MD5 commands.
  • Run the MercuryS service with least privilege and isolate it from other critical systems.
  • Monitor vendor advisories for a definitive fixed version, since the affected range is uncertain.

Detection

  • Inspect SMTP logs for unusually long AUTH CRAM-MD5 commands or malformed authentication attempts.
  • Alert on MercuryS process crashes or restarts that correlate with SMTP authentication traffic.
  • Use network IDS signatures for oversized AUTH CRAM-MD5 payloads against SMTP ports.
  • Review exploit-db and public PoC traffic patterns against mail server logs for matching request strings.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2007-4440 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2007-1373Mercury/32 Mail Transport System LOGIN command stack buffer overflowMercury/32 (Mercury Mail Transport System) 4.01b and earlier contains a stack-based buffer overflow reachable through a long LOGIN command. A remote …EPSS 59%analysed8.8CVE-2026-8452Citrix NetScaler ADC and Gateway memory buffer overflow causes DoSCVE-2026-8452 is a memory buffer overflow (CWE-119) in Citrix NetScaler ADC and NetScaler Gateway that leads to unpredictable or erroneous behavior a…KEVEPSS 1.0%analysed8.8CVE-2009-3459Adobe Reader and Acrobat heap buffer overflow via crafted PDFAdobe Reader and Acrobat 7.x before 7.1.4, 8.x before 8.1.7, and 9.x before 9.2 contain a heap-based buffer overflow (CWE-122) triggered by a crafted…KEVEPSS 87%analysed9.8CVE-2008-4250Microsoft Windows Server service RPC path canonicalization buffer overflowThe Server service in multiple Windows versions fails to properly handle path canonicalization, allowing a crafted RPC request to overflow a buffer a…KEVEPSS 99%analysed8.8CVE-2025-31277Apple WebKit memory corruption via malicious web contentApple WebKit fails to handle memory correctly when processing crafted web content, leading to memory corruption across Safari, iOS, iPadOS, macOS, tv…KEVEPSS 1.6%analysed8.8CVE-2026-3910Google Chrome V8 improper implementation allows sandbox code executionChrome before 146.0.7680.75 contains an inappropriate implementation in the V8 JavaScript engine, classified as code injection and memory buffer over…KEVEPSS 1.0%analysed8.8CVE-2008-0015Microsoft DirectShow Video ActiveX Control Stack Buffer OverflowA stack-based buffer overflow in the CComVariant::ReadFromStream function in the Active Template Library (ATL) is reachable through the MPEG2TuneRequ…KEVEPSS 77%analysed7.8CVE-2026-20700Apple OS memory corruption allows arbitrary code executionA memory corruption flaw caused by improper state management affects iOS, iPadOS, macOS, tvOS, visionOS and watchOS. Apple states it is aware of a re…KEVEPSS 1.3%analysed

Source: NIST National Vulnerability Database (record CVE-2007-4440), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.