Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.0

CVE-2007-5018: Mercury/32 IMAP server lets logged‑in users run code

CVE-2007-5018 · published 19 years ago
Summary

The IMAP service in Mercury/32 version 4.52 can overflow its memory when a signed‑in user sends an overly long SEARCH command. This can let that user execute their own code on the server, potentially compromising data and other users. Update to a patched version or restrict IMAP access to trusted users while a fix is applied.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
david_harris mercury_32 4.5.2
cpe:2.3:a:david_harris:mercury_32:4.5.2:*:*:*:*:*:*:*
Original advisory text
Stack-based buffer overflow in IMAPD in Mercury/32 4.52 allows remote authenticated users to execute arbitrary code via a long argument in a SEARCH ON command. NOTE: this issue might overlap with ...
Stack-based buffer overflow in IMAPD in Mercury/32 4.52 allows remote authenticated users to execute arbitrary code via a long argument in a SEARCH ON command. NOTE: this issue might overlap with CVE-2004-1211.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
6.0 Medium
Exploitation
4% chance of attack within 30 days
Type
CWE-119Buffer Overflow
Timeline
Published20 Sep 2007
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2007-5018 · NVD
Track software like this
Free during beta