← Vulnerability feed

Vulnerability record · CVE-2003-0201 · published 5 May 2003

CVE-2003-0201: Samba call_trans2open buffer overflow allows remote code execution

Samba · Samba

A buffer overflow exists in the call_trans2open function in trans2.c in Samba 2.2.x before 2.2.8a, Samba 2.0.10 and earlier 2.0.x, and Samba-TNG before 0.3.2. A remote attacker can trigger it over the network and execute arbitrary code. Because Samba is a core file and print sharing service, a compromised host can expose file data and provide a foothold for lateral movement.

10.0 CVSS 2.0 High EPSS 85% · top 0.3%
10.0CVSS 2.0 base score
85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
8Affected product versions listed by NVD
30References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG before 0.3.2, allows remote attackers to execute arbitrary code.

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.

critical priorityUnauthenticated remote code execution with a CVSS 2.0 base score of 10 and very high EPSS, though the software is legacy and no KEV listing is present.

What it is

A buffer overflow exists in the call_trans2open function in trans2.c in Samba 2.2.x before 2.2.8a, Samba 2.0.10 and earlier 2.0.x, and Samba-TNG before 0.3.2. A remote attacker can trigger it over the network and execute arbitrary code. Because Samba is a core file and print sharing service, a compromised host can expose file data and provide a foothold for lateral movement.

Impact

An unauthenticated remote attacker can execute arbitrary code with the privileges of the Samba service, typically root, leading to full host compromise. This can result in data theft, service disruption, and use of the host as a pivot point.

Attack surface

The flaw is reachable over the network via SMB/CIFS requests handled by the Samba daemon; the CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required. Any host exposing the affected Samba service is a candidate target.

Exploitation

The record is not listed in CISA KEV, but EPSS is very high (0.845 probability, 99.7th percentile) and a SecurityFocus reference is tagged Exploit, indicating public exploit code exists. No ransomware group usage is documented.

What to do

  • Upgrade Samba to 2.2.8a or later, or Samba-TNG to 0.3.2 or later, per vendor advisories.
  • Apply the vendor patches referenced by Debian, Red Hat, Mandriva, Novell, SGI and others for affected distributions.
  • Restrict network access to SMB/CIFS ports (TCP 139 and 445) to trusted hosts only.
  • If patching is not immediately possible, disable or firewall the Samba service on affected systems.
  • Monitor vendor advisories for updated fixes for the listed platforms (Apple, Compaq, HP, Sun).

Detection

  • Inspect Samba logs for malformed or unusual trans2 open requests and repeated connection attempts.
  • Use network IDS signatures for the call_trans2open overflow against SMB traffic on ports 139 and 445.
  • Monitor for unexpected child processes or shell activity spawned by smbd.
  • Audit exposed SMB services and confirm version levels against the affected ranges.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
ftp://patches.sgi.com/support/free/security/advisories/20030403-01-P
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000624
http://marc.info/?l=bugtraq&m=104972664226781&w=2
http://marc.info/?l=bugtraq&m=104974612519064&w=2
http://marc.info/?l=bugtraq&m=104981682014565&w=2
http://marc.info/?l=bugtraq&m=104994564212488&w=2
http://www.debian.org/security/2003/dsa-280 PatchVendor Advisory
http://www.digitaldefense.net/labs/advisories/DDI-1013.txt
http://www.kb.cert.org/vuls/id/267873 US Government Resource
http://www.mandriva.com/security/advisories?name=MDKSA-2003:044
http://www.novell.com/linux/security/advisories/2003_025_samba.html
http://www.redhat.com/support/errata/RHSA-2003-137.html
http://www.securityfocus.com/bid/7294 ExploitPatchVendor Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2163
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A567
ftp://patches.sgi.com/support/free/security/advisories/20030403-01-P
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000624
http://marc.info/?l=bugtraq&m=104972664226781&w=2
http://marc.info/?l=bugtraq&m=104974612519064&w=2
http://marc.info/?l=bugtraq&m=104981682014565&w=2
http://marc.info/?l=bugtraq&m=104994564212488&w=2
http://www.debian.org/security/2003/dsa-280 PatchVendor Advisory
http://www.digitaldefense.net/labs/advisories/DDI-1013.txt
http://www.kb.cert.org/vuls/id/267873 US Government Resource
http://www.mandriva.com/security/advisories?name=MDKSA-2003:044
http://www.novell.com/linux/security/advisories/2003_025_samba.html
http://www.redhat.com/support/errata/RHSA-2003-137.html
http://www.securityfocus.com/bid/7294 ExploitPatchVendor Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2163
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A567

Track CVE-2003-0201 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.

10.0CVE-2007-2446Samba smbd NDR parsing heap buffer overflows allow remote code executionSamba 3.0.0 through 3.0.25rc3 contains multiple heap-based buffer overflows in the NDR parsing code of smbd, reachable through crafted MS-RPC request…EPSS 78%analysed10.0CVE-2004-0882Samba vulnerabilityBuffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may allow remote attackers to execute arbitrary code via a TRANSACT…EPSS 14%10.0CVE-2004-1154Samba vulnerabilityInteger overflow in the Samba daemon (smbd) in Samba 2.x and 3.0.x through 3.0.9 allows remote authenticated users to cause a denial of service (appl…EPSS 13%10.0CVE-2004-0090Apple mac os x vulnerabilityUnknown vulnerability in Windows File Sharing for Mac OS X 10.1.5 through 10.3.2 does not "shutdown properly," which has unknown impact and attack ve…EPSS 1.7%10.0CVE-2004-0600Samba vulnerabilityBuffer overflow in the Samba Web Administration Tool (SWAT) in Samba 3.0.2 to 3.0.4 allows remote attackers to execute arbitrary code via an invalid …EPSS 29%10.0CVE-2003-1009Apple mac os x vulnerabilityDirectory Services in Apple Mac OS X 10.0.2, 10.0.3, 10.2.8, 10.3.2 and Apple Mac OS X Server 10.2 through 10.3.2 accepts authentication server infor…EPSS 4.6%10.0CVE-2003-0694Sendmail prescan buffer overflow allows remote code executionThe prescan function in Sendmail 8.12.9 contains a buffer overflow reachable through crafted email addresses, as demonstrated via the parseaddr funct…EPSS 66%analysed10.0CVE-2003-0196Samba vulnerabilityMultiple buffer overflows in Samba before 2.2.8a may allow remote attackers to execute arbitrary code or cause a denial of service, as discovered by …EPSS 23%

Source: NIST National Vulnerability Database (record CVE-2003-0201), CISA KEV, FIRST EPSS (scores of 2026-11-20). This page is refreshed as NVD updates the record.