Description
Stack-based buffer overflow in the send_mailslot function in nmbd in Samba 3.0.0 through 3.0.27a, when the "domain logons" option is enabled, allows remote attackers to execute arbitrary code via a GETDC mailslot request composed of a long GETDC string following an offset username in a SAMLOGON logon request.
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 | 3.0.28-1 | — |
| Debian 13 | samba | 3.0.28-1 | — |
| Debian 12 | samba | 3.0.28-1 | — |
| Debian 5.0 | samba | 3.0.28-1~lenny1 | DTSA-100-1 |
| Debian 4.0 | samba | 3.0.24-6etch9 | DSA-1427-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.1 | samba | 3.0.14a-3sarge11 | DSA-1427-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | samba +3 | 3.0.25b-1.el5_1.4 | RHSA-2007:1114 |
| RHEL 4 | samba +3 | 3.0.25b-1.el4_6.4 | RHSA-2007:1114 |
| RHEL 3 | samba +3 | 3.0.9-1.3E.14.3 | RHSA-2007:1114 |
| RHEL 2 | samba +3 | 2.2.12-1.21as.8.2 | RHSA-2007:1114 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4.5 EUS | samba +3 | 3.0.10-2.el4_5.2 | RHSA-2007:1117, RHSA-2007:1114 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cifs-utils | 6.13-1.3 | openSUSE-SU-2024:10683-1 |
| openSUSE Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
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 1
- Samba 3.0.27a - 'send_mailslot()' Remote Buffer Overflow EDB-4732 · dos · Dec 14, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 6
- RHSA-2007:1117 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:1114 Red Hat Security Advisory: samba security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DTSA-100-1 samba - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1427-1 samba - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11365-1 ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10683-1 cifs-utils-6.13-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- RHSA-2007:1117 vendor-advisory
- http://docs.info.apple.com/article.html?artnum=307430
- [Security-announce] 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates mailing-list
- 28891 third-party-advisory
- 1019295 vendor-advisory
- 30835 third-party-advisory
- 29341 third-party-advisory
- HPSBUX02316 vendor-advisory
- VU#438395 third-party-advisory
- 26791 vdb-entry
- 238251 vendor-advisory
- SUSE-SA:2007:068 vendor-advisory
- USN-556-1 vendor-advisory
- ADV-2008-1908 vdb-entry
- ADV-2008-0495 vdb-entry
- HPSBUX02341 vendor-advisory
- 27999 third-party-advisory
- 20071214 POC for samba send_mailslot() mailing-list
- 30484 third-party-advisory
- 29032 third-party-advisory
- http://www.samba.org/samba/security/CVE-2007-6015.html
- 27993 third-party-advisory
- samba-sendmailslot-bo(38965) vdb-entry
- DSA-1427 vendor-advisory
- 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates mailing-list
- MDKSA-2007:244 vendor-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=200773
- 20071210 Secunia Research: Samba "send_mailslot()" Buffer OverflowVulnerability mailing-list
- 1019065 vdb-entry
- 27977 third-party-advisory
- ADV-2008-0637 vdb-entry
- 28029 third-party-advisory
- ADV-2007-4153 vdb-entry
- http://support.avaya.com/elmodocs2/security/ASA-2007-520.htm
- 28089 third-party-advisory
- 28003 third-party-advisory
- https://issues.rpath.com/browse/RPL-1976
- TA08-043B third-party-advisory
- RHSA-2007:1114 vendor-advisory
- 3438 third-party-advisory
- SSA:2007-344-01 vendor-advisory
- FEDORA-2007-4269 vendor-advisory
- FEDORA-2007-4275 vendor-advisory
- 27894 third-party-advisory
- APPLE-SA-2008-02-11 vendor-advisory
- 27760 third-party-advisory
- ADV-2008-1712 vdb-entry
- http://secunia.com/secunia_research/2007-99/advisory/
- 28067 third-party-advisory
- 28037 third-party-advisory
- ADV-2008-0859 vdb-entry
- 20071210 [SECURITY] Buffer overrun in send_mailslot() mailing-list
- 20071210 rPSA-2007-0261-1 samba samba-swat mailing-list
- oval:org.mitre.oval:def:11572 vdb-entry signature
- 28028 third-party-advisory
- oval:org.mitre.oval:def:5605 vdb-entry signature
- GLSA-200712-10 vendor-advisory