CVE-2004-1638

MailCarrier 2.51 - Buffer Overflow via EHLO Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 4 public exploits for CVE-2004-1638. PoCs published by Metasploit, NoPh0BiA, muts, including Metasploit module exploits/windows/smtp/mailcarrier_smtp_ehlo.

AI-analyzed exploit summary This is a Metasploit module exploiting a stack-based buffer overflow in TABS MailCarrier v2.51 SMTP service via an overly long EHLO command. It achieves remote code execution by overwriting the return address with a JMP ESP instruction and executing payload shellcode.

Description

Buffer overflow in MailCarrier 2.51 allows remote attackers to execute arbitrary code via a long (1) EHLO and possibly (2) HELO command.

Exploits (4)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotewindows
https://www.exploit-db.com/exploits/16822

This is a Metasploit module exploiting a stack-based buffer overflow in TABS MailCarrier v2.51 SMTP service via an overly long EHLO command. It achieves remote code execution by overwriting the return address with a JMP ESP instruction and executing payload shellcode.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TABS MailCarrier v2.51
No auth needed
Prerequisites: Network access to SMTP service (port 25) · Target running vulnerable TABS MailCarrier version
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by NoPh0BiA · cremotewindows
https://www.exploit-db.com/exploits/637

This exploit targets a buffer overflow vulnerability in MailCarrier SMTP server. It sends a crafted EHLO command with a malicious payload to trigger a reverse shell on port 31337.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: MailCarrier SMTP Server (version not specified)
No auth needed
Prerequisites: Network access to the target SMTP server · Target running a vulnerable version of MailCarrier
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by muts · pythonremotewindows
https://www.exploit-db.com/exploits/598

This exploit targets a buffer overflow vulnerability in MailCarrier 2.51 SMTP server via the EHLO/HELO command. It includes shellcode to spawn a reverse shell on port 101, demonstrating remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: MailCarrier 2.51
No auth needed
Prerequisites: Network access to the SMTP service (port 25) · Vulnerable MailCarrier 2.51 installation
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC GOOD
by aushack · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/smtp/mailcarrier_smtp_ehlo.rb

This Metasploit module exploits a stack-based buffer overflow in TABS MailCarrier v2.51 SMTP service via an overly long EHLO command. It achieves remote code execution by overwriting the return address with a JMP ESP instruction and executing shellcode.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TABS MailCarrier v2.51
No auth needed
Prerequisites: Network access to SMTP port (25) · Target running vulnerable TABS MailCarrier version
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=109880961630050&w=2
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/17861
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/12999
Exploit, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/11535

Scores

EPSS 0.6276
EPSS Percentile 99.1%

Details

Status published
Published Oct 16, 2004
Tracked Since Feb 18, 2026