← Vulnerability feed

Vulnerability record · CVE-2007-1373 · published 10 March 2007

CVE-2007-1373: Mercury/32 Mail Transport System LOGIN command stack buffer overflow

Pmail · Mercury Mail Transport System

Mercury/32 (Mercury Mail Transport System) 4.01b and earlier contains a stack-based buffer overflow reachable through a long LOGIN command. A remote attacker can trigger the overflow and potentially execute arbitrary code on the mail server. The record notes it may be the same issue as CVE-2006-5961, so the exact distinct root cause is not fully settled.

10.0 CVSS 2.0 High EPSS 59% · top 0.9%
10.0CVSS 2.0 base score
59%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in Mercury/32 (aka Mercury Mail Transport System) 4.01b and earlier allows remote attackers to execute arbitrary code via a long LOGIN command. NOTE: this might be the same issue as CVE-2006-5961.

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

Automated analysis

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

critical priorityCVSS 2.0 base score is 10.0 with network reachability, no authentication and full confidentiality, integrity and availability impact, and public exploit material is referenced.

What it is

Mercury/32 (Mercury Mail Transport System) 4.01b and earlier contains a stack-based buffer overflow reachable through a long LOGIN command. A remote attacker can trigger the overflow and potentially execute arbitrary code on the mail server. The record notes it may be the same issue as CVE-2006-5961, so the exact distinct root cause is not fully settled.

Impact

Successful exploitation gives the attacker arbitrary code execution in the context of the Mercury/32 service, which typically runs with system or service-level privileges. That means full compromise of the mail server, including reading mail data and pivoting to the host.

Attack surface

The flaw is network-reachable (AV:N, AC:L, Au:N) with no authentication and no user interaction required, per the CVSS 2.0 vector. It is reached by sending a crafted LOGIN command to the affected service.

Exploitation

No CISA KEV listing and no ransomware associations are recorded, but EPSS is very high (0.58687, 99th percentile) and the references include an Exploit-tagged full-disclosure post, indicating public exploit material exists.

What to do

  • Upgrade Mercury/32 past 4.01b to a fixed release; confirm the vendor advisory (Secunia 24367) for the corrected version.
  • If patching is not immediately possible, restrict network access to the Mercury SMTP/POP3/IMAP listeners to trusted hosts only.
  • Enforce strict input length limits on the LOGIN command at any front-end proxy or filter if one is in the path.
  • Run the Mercury/32 service under a least-privilege account rather than a highly privileged one.
  • Monitor vendor and CVE-2006-5961 references to confirm whether this is a duplicate and apply the corresponding fix.

Detection

  • Inspect mail service logs for abnormally long LOGIN command strings or malformed authentication attempts.
  • Alert on crashes or restarts of the Mercury/32 process, which can indicate a failed overflow attempt.
  • Use network IDS signatures for oversized LOGIN commands against the Mercury service port.
  • Correlate outbound connections or child processes spawned by the mail service with unexpected behavior.

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-1373 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.

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