← Vulnerability feed

Vulnerability record · CVE-2004-1211 · published 10 January 2005

CVE-2004-1211: Mercury/32 IMAP service buffer overflows via long command arguments

David Harris · Mercury

Mercury/32 4.01a contains multiple buffer overflows in its IMAP service, triggered by long arguments to fourteen different IMAP commands including EXAMINE, SUBSCRIBE, STATUS, APPEND, FETCH, SEARCH, and CREATE. A remote authenticated user can crash the service and possibly execute arbitrary code, making this a serious flaw for any deployment exposing the IMAP service.

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

Description

Multiple buffer overflows in the IMAP service in Mercury/32 4.01a allow remote authenticated users to cause a denial of service (application crash) and possibly execute arbitrary code via long arguments to the (1) EXAMINE, (2) SUBSCRIBE, (3) STATUS, (4) APPEND, (5) CHECK, (6) CLOSE, (7) EXPUNGE, (8) FETCH, (9) RENAME, (10) DELETE, (11) LIST, (12) SEARCH, (13) CREATE, or (14) UNSUBSCRIBE commands.

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 18 September 2026. Confidence: high.

high priorityThe flaw allows remote code execution with a very high EPSS score and public exploit availability, though it requires valid IMAP credentials and affects an old product version.

What it is

Mercury/32 4.01a contains multiple buffer overflows in its IMAP service, triggered by long arguments to fourteen different IMAP commands including EXAMINE, SUBSCRIBE, STATUS, APPEND, FETCH, SEARCH, and CREATE. A remote authenticated user can crash the service and possibly execute arbitrary code, making this a serious flaw for any deployment exposing the IMAP service.

Impact

An attacker with valid IMAP credentials can crash the mail service and potentially execute arbitrary code in the context of the Mercury/32 process. Successful code execution would give the attacker control over the mail server and any data it handles.

Attack surface

The flaw is reached over the network through the IMAP service; the CVSS vector indicates no authentication is required, but the description states the attacker must be a remote authenticated user, so valid IMAP credentials are needed. No user interaction is required beyond sending crafted IMAP commands.

Exploitation

CVE-2004-1211 is not listed in CISA KEV, but EPSS is very high at 0.72459 (99.4th percentile), and a reference is tagged Exploit, indicating public exploit code exists.

What to do

  • Upgrade Mercury/32 to a version later than 4.01a that fixes the IMAP buffer overflows.
  • If upgrading is not immediately possible, restrict IMAP access to trusted networks or disable the IMAP service until patched.
  • Enforce strong, unique credentials and monitor for unusual IMAP command patterns from authenticated accounts.
  • Apply the vendor patch referenced in the SecurityFocus advisory (BID 11775).

Detection

  • Monitor IMAP server logs for abnormally long arguments to EXAMINE, SUBSCRIBE, STATUS, APPEND, CHECK, CLOSE, EXPUNGE, FETCH, RENAME, DELETE, LIST, SEARCH, CREATE, or UNSUBSCRIBE commands.
  • Alert on Mercury/32 process crashes or restarts correlated with IMAP traffic.
  • Use network IDS/IPS signatures for oversized IMAP command arguments targeting the Mercury/32 service.

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-2004-1211 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.

9.5CVE-2026-88772Citrix NetScaler Improper Restriction of Operations within the Bounds of a Memory Buffer VulnerabilityVulnerability in Citrix NetScaler ADC and Citrix NetScaler Gateway. This issue affects ADC: before 14.1-73.37, before 13.1-64.23, before 14.1-73.37 F…KEV8.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-2004-1211), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.