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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2.2.8 | — |
| Debian 13 | samba | 2.2.8 | — |
| Debian 12 | samba | 2.2.8 | — |
| Debian 3.0 | samba | 2.2.3a-12.1 | DSA-262 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 3
- Samba 2.2.2 < 2.2.6 - 'nttrans' Remote Buffer Overflow (Metasploit) (1) EDB-16321 · remote · Apr 28, 2010 · verified
- Samba 2.2.x - 'nttrans' Remote Overflow (Metasploit) EDB-9936 · remote · Apr 7, 2003 · verified
- Samba 2.2.x - CIFS/9000 Server A.01.x Packet Assembling Buffer Overflow EDB-22356 · remote · Mar 15, 2003 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-262 samba - remote exploit Debian Security (DSA / DLA) · Mar 9, 2026
References
- 20030317 Security Bugfix for Samba - Samba 2.2.8 Released mailing-list
- 20030317 GLSA: samba (200303-11) mailing-list
- GLSA-200303-11 vendor-advisory
- 20030325 Fwd: APPLE-SA-2003-03-24 Samba, OpenSSL mailing-list
- RHSA-2003:096 vendor-advisory
- oval:org.mitre.oval:def:552 vdb-entry signature
- 20030318 [OpenPKG-SA-2003.021] OpenPKG Security Advisory (samba) mailing-list
- 7106 vdb-entry
- RHSA-2003:095 vendor-advisory
- VU#298233 third-party-advisory
- SuSE-SA:2003:016 vendor-advisory
- MDKSA-2003:032 vendor-advisory
- IMNX-2003-7+-003-01 vendor-advisory
- DSA-262 vendor-advisory
- 8303 third-party-advisory
- 8299 third-party-advisory