CVE-2003-0085

Samba < 2.2.8 - Remote Code Execution via SMB/CIFS Packet Fragment Reassembly

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2003-0085. PoCs published by Metasploit, H D Moore, flatline.

AI-analyzed exploit summary This is a Metasploit module exploiting a buffer overflow in Samba 2.2.2-2.2.6 via a malformed NTTrans request, leading to remote code execution.

Description

Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, allows remote attackers to execute arbitrary code.

Exploits (3)

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

This is a Metasploit module exploiting a buffer overflow in Samba 2.2.2-2.2.6 via a malformed NTTrans request, leading to remote code execution.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Samba 2.2.2 - 2.2.6
No auth needed
Prerequisites: Network access to Samba service on port 139
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by H D Moore · rubyremotelinux
https://www.exploit-db.com/exploits/9936

This exploit targets a buffer overflow vulnerability in Samba 2.2.x via a malformed NTTrans request. It leverages a pattern-based buffer overflow to achieve remote code execution by overwriting the return address and injecting payload.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Samba 2.2.x
No auth needed
Prerequisites: Network access to target's SMB port (139) · Samba 2.2.x running on the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by flatline · cremoteunix
https://www.exploit-db.com/exploits/22356

This exploit targets a buffer overflow vulnerability in Samba <= 2.2.7a via a crafted SMB/CIFS packet. It leverages a stack-based overflow in the `reply_nttrans()` function to achieve remote code execution with root privileges.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Racy
Target: Samba <= 2.2.7a
No auth needed
Prerequisites: Network access to the Samba server on port 139
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (17)

Core 17
Core References
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104801012929374&w=2
Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/7106
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2003-095.html
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/298233
Vendor Advisory vendor-advisory x_refsource_mandrake
http://www.mandriva.com/security/advisories?name=MDKSA-2003:032
Third Party Advisory, VDB Entry vendor-advisory x_refsource_immunix
http://www.securityfocus.com/archive/1/317145/30/25220/threaded
Patch, Vendor Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2003/dsa-262
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/8299
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104792723017768&w=2
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=104792646416629&w=2
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200303-11.xml
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/316165/30/25370/threaded
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2003-096.html
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A552
Vendor Advisory vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2003_016_samba.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/8303
Vendor Advisory vendor-advisory x_refsource_sgi
ftp://patches.sgi.com/support/free/security/advisories/20030302-01-I

Scores

EPSS 0.8792
EPSS Percentile 99.7%

Details

Status published
Products (29)
hp/cifs-9000_server a.01.05
hp/cifs-9000_server a.01.06
hp/cifs-9000_server a.01.07
hp/cifs-9000_server a.01.08
hp/cifs-9000_server a.01.08.01
hp/cifs-9000_server a.01.09
hp/cifs-9000_server a.01.09.01
samba/samba 2.0.0
samba/samba 2.0.1
samba/samba 2.0.2
... and 19 more
Published Mar 31, 2003
Tracked Since Feb 18, 2026